Skip to content
Snippets Groups Projects
Commit 83fc71dd authored by Till Schneidereit's avatar Till Schneidereit
Browse files

Bug 756851 - add missing call to object->markIfUnmarked before GCMarker::pushObject. r=billm

parent 9c77538f
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment