Remove JSObject::getFunctionPrivate, add call scope to JSFunction, bug 693754.

This commit is contained in:
Brian Hackett
2011-10-11 15:28:54 -07:00
parent 39d67cf8d7
commit d5f6dca29f
45 changed files with 394 additions and 493 deletions

View File

@@ -3486,7 +3486,7 @@ NewArray(JSContext *cx, jsuint length, JSObject *proto)
JS_ASSERT_IF(proto, proto->isArray());
gc::AllocKind kind = GuessArrayGCKind(length);
JSObject *obj = detail::NewObject<WithProto::Class, false>(cx, &ArrayClass, proto, NULL, kind);
JSObject *obj = NewObject<WithProto::Class>(cx, &ArrayClass, proto, NULL, kind);
if (!obj)
return NULL;