Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
This will allow us to move HeapPtr and rooted objects when tracing.
This commit is contained in:
@@ -148,9 +148,9 @@ void
|
||||
NativeIterator::mark(JSTracer *trc)
|
||||
{
|
||||
for (HeapPtr<JSFlatString> *str = begin(); str < end(); str++)
|
||||
MarkString(trc, *str, "prop");
|
||||
MarkString(trc, str, "prop");
|
||||
if (obj)
|
||||
MarkObject(trc, obj, "obj");
|
||||
MarkObject(trc, &obj, "obj");
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user