Bug 928050 - Don't GC during atomization, r=billm.
This commit is contained in:
@@ -1117,7 +1117,7 @@ bool
|
||||
js_SuppressDeletedElement(JSContext *cx, HandleObject obj, uint32_t index)
|
||||
{
|
||||
RootedId id(cx);
|
||||
if (!IndexToId(cx, index, &id))
|
||||
if (!IndexToId(cx, index, id.address()))
|
||||
return false;
|
||||
return js_SuppressDeletedProperty(cx, obj, id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user