Bug 928050 - Don't GC during atomization, r=billm.

This commit is contained in:
Brian Hackett
2013-11-09 19:53:53 -07:00
parent 0f79a0e599
commit b1eed6d0ec
27 changed files with 85 additions and 172 deletions

View File

@@ -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);
}