Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 9cfcf46c9da2ceffc4acc7bd106e28fdd0bc2558..5a1bbd81829d03a2cbb26a88d67c70d8fb0c9522 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -731,7 +731,7 @@ class CallInterceptorCompiler BASE_EMBEDDED { |
// holder haven't changed and thus we can use cached constant function. |
if (*interceptor_holder != lookup->holder()) { |
stub_compiler_->CheckPrototypes( |
- IC::CurrentTypeOf(interceptor_holder, masm->isolate()), receiver, |
+ IC::CurrentTypeOf(interceptor_holder, masm->isolate()), holder, |
handle(lookup->holder()), scratch1, scratch2, scratch3, |
name, depth2, miss); |
} else { |
@@ -747,7 +747,7 @@ class CallInterceptorCompiler BASE_EMBEDDED { |
GenerateFastApiCall(masm, optimization, arguments_.immediate()); |
} else { |
Handle<JSFunction> fun = optimization.constant_function(); |
- stub_compiler_->GenerateJumpFunctionIgnoreReceiver(fun); |
+ stub_compiler_->GenerateJumpFunction(object, fun); |
} |
// Deferred code for fast API call case---clean preallocated space. |
@@ -807,7 +807,7 @@ class CallInterceptorCompiler BASE_EMBEDDED { |
IC::kLoadPropertyWithInterceptorOnly); |
__ pop(name_); // Restore the name. |
- __ pop(receiver); // Restore the holder. |
+ __ pop(holder); // Restore the holder. |
// Leave the internal frame. |
} |