Bug 1154950 - Share permanent atom and well-known symbol marking; r=sfink
This commit is contained in:
@@ -226,7 +226,7 @@ js::MarkPermanentAtoms(JSTracer* trc)
|
||||
const AtomStateEntry& entry = r.front();
|
||||
|
||||
JSAtom* atom = entry.asPtr();
|
||||
MarkPermanentAtom(trc, atom, "permanent_table");
|
||||
TraceProcessGlobalRoot(trc, atom, "permanent_table");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -241,7 +241,7 @@ js::MarkWellKnownSymbols(JSTracer* trc)
|
||||
|
||||
if (WellKnownSymbols* wks = rt->wellKnownSymbols) {
|
||||
for (size_t i = 0; i < JS::WellKnownSymbolLimit; i++)
|
||||
MarkWellKnownSymbol(trc, wks->get(i));
|
||||
TraceProcessGlobalRoot(trc, wks->get(i).get(), "well_known_symbol");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user