diff options
Diffstat (limited to 'Source/JavaScriptCore/jsc.cpp')
-rw-r--r-- | Source/JavaScriptCore/jsc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/jsc.cpp b/Source/JavaScriptCore/jsc.cpp index dd4b677..912b51a 100644 --- a/Source/JavaScriptCore/jsc.cpp +++ b/Source/JavaScriptCore/jsc.cpp @@ -169,7 +169,7 @@ GlobalObject::GlobalObject(const Vector<UString>& arguments) JSObject* array = constructEmptyArray(globalExec()); for (size_t i = 0; i < arguments.size(); ++i) array->put(globalExec(), i, jsString(globalExec(), arguments[i])); - putDirect(Identifier(globalExec(), "arguments"), array); + putDirect(globalExec()->globalData(), Identifier(globalExec(), "arguments"), array); } EncodedJSValue JSC_HOST_CALL functionPrint(ExecState* exec) |