X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..HEAD:/runtime/ArrayConstructor.cpp diff --git a/runtime/ArrayConstructor.cpp b/runtime/ArrayConstructor.cpp index 4442930..194f921 100644 --- a/runtime/ArrayConstructor.cpp +++ b/runtime/ArrayConstructor.cpp @@ -46,11 +46,13 @@ namespace JSC { STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(ArrayConstructor); -const ClassInfo ArrayConstructor::s_info = { "Function", &InternalFunction::s_info, 0, ExecState::arrayConstructorTable, CREATE_METHOD_TABLE(ArrayConstructor) }; +const ClassInfo ArrayConstructor::s_info = { "Function", &InternalFunction::s_info, &arrayConstructorTable, CREATE_METHOD_TABLE(ArrayConstructor) }; /* Source for ArrayConstructor.lut.h @begin arrayConstructorTable isArray arrayConstructorIsArray DontEnum|Function 1 + of arrayConstructorOf DontEnum|Function 0 + from arrayConstructorFrom DontEnum|Function 0 @end */ @@ -68,7 +70,7 @@ void ArrayConstructor::finishCreation(VM& vm, ArrayPrototype* arrayPrototype) bool ArrayConstructor::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot &slot) { - return getStaticFunctionSlot(exec, ExecState::arrayConstructorTable(exec->vm()), jsCast(object), propertyName, slot); + return getStaticFunctionSlot(exec, arrayConstructorTable, jsCast(object), propertyName, slot); } // ------------------------------ Functions ---------------------------