Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index d974940d7cb822a5e3ff27644f964002b9cd44a8..800add864d459799c7dc8cf7c0bfc0b1d442c74d 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -2638,11 +2638,12 @@ Handle<Code> StoreStubCompiler::CompileStoreCallback( |
Handle<JSObject> holder, |
Handle<Name> name, |
Handle<ExecutableAccessorInfo> callback) { |
- HandlerFrontend(IC::CurrentTypeOf(object, isolate()), |
- receiver(), holder, name); |
+ Register holder_reg = HandlerFrontend( |
+ IC::CurrentTypeOf(object, isolate()), receiver(), holder, name); |
__ pop(scratch1()); // remove the return address |
__ push(receiver()); |
+ __ push(holder_reg); |
__ Push(callback); |
__ Push(name); |
__ push(value()); |
@@ -2651,7 +2652,7 @@ Handle<Code> StoreStubCompiler::CompileStoreCallback( |
// Do tail-call to the runtime system. |
ExternalReference store_callback_property = |
ExternalReference(IC_Utility(IC::kStoreCallbackProperty), isolate()); |
- __ TailCallExternalReference(store_callback_property, 4, 1); |
+ __ TailCallExternalReference(store_callback_property, 5, 1); |
// Return the generated code. |
return GetCode(kind(), Code::FAST, name); |