diff options
author | Kristian Monsen <kristianm@google.com> | 2010-05-25 07:58:57 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-05-25 07:58:57 -0700 |
commit | af3a41387e228a5fbaec2957e5756497f9107b4a (patch) | |
tree | 12f68f43faa6b0d8d2c5bec49959c1062f0feeac /JavaScriptCore/runtime/JSGlobalData.cpp | |
parent | 1e51c8e2be1aabe013c4595352e2e1edc16ae0de (diff) | |
parent | 6c2af9490927c3c5959b5cb07461b646f8b32f6c (diff) | |
download | external_webkit-af3a41387e228a5fbaec2957e5756497f9107b4a.zip external_webkit-af3a41387e228a5fbaec2957e5756497f9107b4a.tar.gz external_webkit-af3a41387e228a5fbaec2957e5756497f9107b4a.tar.bz2 |
Merge "Merge WebKit at r59636: Initial merge by git"
Diffstat (limited to 'JavaScriptCore/runtime/JSGlobalData.cpp')
-rw-r--r-- | JavaScriptCore/runtime/JSGlobalData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/runtime/JSGlobalData.cpp b/JavaScriptCore/runtime/JSGlobalData.cpp index 12fa2be..652fcb0 100644 --- a/JavaScriptCore/runtime/JSGlobalData.cpp +++ b/JavaScriptCore/runtime/JSGlobalData.cpp @@ -246,7 +246,7 @@ const Vector<Instruction>& JSGlobalData::numericCompareFunction(ExecState* exec) if (!lazyNumericCompareFunction.size() && !initializingLazyNumericCompareFunction) { initializingLazyNumericCompareFunction = true; RefPtr<FunctionExecutable> function = FunctionExecutable::fromGlobalCode(Identifier(exec, "numericCompare"), exec, 0, makeSource(UString("(function (v1, v2) { return v1 - v2; })")), 0, 0); - lazyNumericCompareFunction = function->bytecode(exec, exec->scopeChain()).instructions(); + lazyNumericCompareFunction = function->bytecodeForCall(exec, exec->scopeChain()).instructions(); initializingLazyNumericCompareFunction = false; } |