зеркало из https://github.com/mozilla/gecko-dev.git
Fixed warnings from the tracer oracle (no bug, rs=brendan).
This commit is contained in:
Родитель
45318fdaaa
Коммит
78327d68b8
|
@ -1248,12 +1248,6 @@ IsSlotUndemotable(Oracle* oracle, JSContext* cx, LinkableFragment* f, unsigned s
|
|||
return oracle->isGlobalSlotUndemotable(cx, gslots[slot - f->nStackTypes]);
|
||||
}
|
||||
|
||||
static JS_REQUIRES_STACK bool
|
||||
IsSlotUndemotable(Oracle* oracle, JSContext* cx, LinkableFragment* f, unsigned slot)
|
||||
{
|
||||
return IsSlotUndemotable(oracle, cx, f, slot, cx->fp->regs->pc);
|
||||
}
|
||||
|
||||
class FrameInfoCache
|
||||
{
|
||||
struct HashPolicy
|
||||
|
|
|
@ -918,15 +918,15 @@ class TraceRecorder
|
|||
{
|
||||
/*************************************************************** Recording session constants */
|
||||
|
||||
/* Cached oracle keeps track of hit counts for program counter locations */
|
||||
Oracle* oracle;
|
||||
|
||||
/* The context in which recording started. */
|
||||
JSContext* const cx;
|
||||
|
||||
/* Cached value of JS_TRACE_MONITOR(cx). */
|
||||
TraceMonitor* const traceMonitor;
|
||||
|
||||
/* Cached oracle keeps track of hit counts for program counter locations */
|
||||
Oracle* oracle;
|
||||
|
||||
/* The Fragment being recorded by this recording session. */
|
||||
VMFragment* const fragment;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче