mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
Bug 756851 - add missing call to object->markIfUnmarked before GCMarker::pushObject. r=billm
This commit is contained in:
parent
9c77538ff1
commit
83fc71dd00
@ -1019,7 +1019,7 @@ GCMarker::processMarkStackOther(SliceBudget &budget, uintptr_t tag, uintptr_t ad
|
||||
span = span->nextSpan();
|
||||
} else {
|
||||
JSObject *object = reinterpret_cast<JSObject *>(thing);
|
||||
if (object->hasSingletonType())
|
||||
if (object->hasSingletonType() && object->markIfUnmarked(getMarkColor()))
|
||||
pushObject(object);
|
||||
budget.step();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user