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