| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index 88923c308e90f2a53a20e227a7dd37550830f1f4..34045d74de315c1428fce6c5fef069ba9d2aa70d 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -739,7 +739,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 {
|
| @@ -755,7 +755,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.
|
| @@ -815,7 +815,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.
|
| }
|
|
|
|
|