Fixed warnings from the tracer oracle (no bug, rs=brendan).

This commit is contained in:
David Anderson 2010-03-11 11:40:44 -08:00
Родитель 45318fdaaa
Коммит 78327d68b8
2 изменённых файлов: 3 добавлений и 9 удалений

Просмотреть файл

@ -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;