Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco
This commit is contained in:
@@ -60,12 +60,12 @@ NativeIterator::mark(JSTracer* trc)
|
||||
for (HeapPtrFlatString* str = begin(); str < end(); str++)
|
||||
TraceEdge(trc, str, "prop");
|
||||
if (obj)
|
||||
MarkObject(trc, &obj, "obj");
|
||||
TraceEdge(trc, &obj, "obj");
|
||||
|
||||
// The SuppressDeletedPropertyHelper loop can GC, so make sure that if the
|
||||
// GC removes any elements from the list, it won't remove this one.
|
||||
if (iterObj_)
|
||||
MarkObjectUnbarriered(trc, &iterObj_, "iterObj");
|
||||
TraceManuallyBarrieredEdge(trc, &iterObj_, "iterObj");
|
||||
}
|
||||
|
||||
struct IdHashPolicy {
|
||||
|
||||
Reference in New Issue
Block a user