Warning patrol. No bug, r=themaid

--HG--
extra : rebase_source : b7e56f8e95e76c35089ff48a26fb60f9a4708995
This commit is contained in:
Jeff Walden 2012-02-28 18:08:04 -08:00
parent 281c9ca26d
commit 7dc450d625

View File

@ -485,16 +485,6 @@ struct JSDumpHeapTracer : public JSTracer {
static void
DumpHeapVisitChild(JSTracer *trc, void **thingp, JSGCTraceKind kind);
static char
MarkDescriptor(void *thing)
{
gc::Cell *cell = static_cast<gc::Cell*>(thing);
if (cell->isMarked(gc::BLACK))
return cell->isMarked(gc::GRAY) ? 'G' : 'B';
else
return cell->isMarked(gc::GRAY) ? 'X' : 'W';
}
static void
DumpHeapPushIfNew(JSTracer *trc, void **thingp, JSGCTraceKind kind)
{