| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index e8b94f104f87c689d5ff0c0e60a460ab6cf24de9..dc2c3406a6aead526238893d801b8abc8efe565b 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -1155,7 +1155,7 @@ void CallStubCompiler::GenerateJumpFunctionIgnoreReceiver(
|
|
|
| void CallStubCompiler::GenerateJumpFunction(Handle<Object> object,
|
| Handle<JSFunction> function) {
|
| - PatchGlobalProxy(object, function);
|
| + PatchGlobalProxy(object);
|
| GenerateJumpFunctionIgnoreReceiver(function);
|
| }
|
|
|
| @@ -1163,7 +1163,7 @@ void CallStubCompiler::GenerateJumpFunction(Handle<Object> object,
|
| void CallStubCompiler::GenerateJumpFunction(Handle<Object> object,
|
| Register actual_closure,
|
| Handle<JSFunction> function) {
|
| - PatchGlobalProxy(object, function);
|
| + PatchGlobalProxy(object);
|
| ParameterCount expected(function);
|
| __ InvokeFunction(actual_closure, expected, arguments(),
|
| JUMP_FUNCTION, NullCallWrapper(), call_kind());
|
|
|