Bug 847698 - Move most slot allocation closer to object creation; r=bhackett
This commit is contained in:
@@ -392,7 +392,7 @@ NewPropertyIteratorObject(JSContext *cx, unsigned flags)
|
||||
return NULL;
|
||||
|
||||
RawObject obj = JSObject::create(cx, ITERATOR_FINALIZE_KIND,
|
||||
GetInitialHeap(GenericObject, clasp), shape, type, NULL);
|
||||
GetInitialHeap(GenericObject, clasp), shape, type);
|
||||
if (!obj)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user