Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 13b1fbdd93bf4402940e65862e4d2c789a63f307..83982eb9e29b60c4c4bedc6ab24ea155d0804f7c 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -1277,9 +1277,11 @@ static void CallStubInRecordCallTarget(MacroAssembler* masm, CodeStub* stub) { |
__ push(edi); |
__ push(edx); |
__ push(ebx); |
+ __ push(esi); |
__ CallStub(stub); |
+ __ pop(esi); |
__ pop(ebx); |
__ pop(edx); |
__ pop(edi); |
@@ -1575,7 +1577,9 @@ void CallICStub::Generate(MacroAssembler* masm) { |
FrameScope scope(masm, StackFrame::INTERNAL); |
CreateWeakCellStub create_stub(isolate); |
__ push(edi); |
+ __ push(esi); |
__ CallStub(&create_stub); |
+ __ pop(esi); |
__ pop(edi); |
} |