Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index 6db16b62975800fcb9b36b5558ec729b4fbc86b3..1ec12967b6baed5a117b3ed601d3418c8f944779 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -1106,9 +1106,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); |
@@ -1404,7 +1406,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); |
} |