| Index: JavaScriptCore/runtime/FunctionPrototype.cpp
|
| ===================================================================
|
| --- JavaScriptCore/runtime/FunctionPrototype.cpp (revision 10232)
|
| +++ JavaScriptCore/runtime/FunctionPrototype.cpp (working copy)
|
| @@ -112,7 +112,7 @@
|
| return throwError(exec, TypeError);
|
| if (asObject(array)->classInfo() == &Arguments::info)
|
| asArguments(array)->fillArgList(exec, applyArgs);
|
| - else if (exec->interpreter()->isJSArray(array))
|
| + else if (isJSArray(&exec->globalData(), array))
|
| asArray(array)->fillArgList(exec, applyArgs);
|
| else if (asObject(array)->inherits(&JSArray::info)) {
|
| unsigned length = asArray(array)->get(exec, exec->propertyNames().length).toUInt32(exec);
|
|
|