Remove JSObject::capacity and JSObject::initializedLength, split JSObject::slots into slots and elements, bug 693221.
This commit is contained in:
@@ -418,7 +418,7 @@ NewIteratorObject(JSContext *cx, uintN flags)
|
||||
return NULL;
|
||||
|
||||
obj->init(cx, type, NULL, NULL, false);
|
||||
obj->setMap(emptyEnumeratorShape);
|
||||
obj->setInitialPropertyInfallible(emptyEnumeratorShape);
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user