Index: src/builtins/x64/builtins-x64.cc |
diff --git a/src/builtins/x64/builtins-x64.cc b/src/builtins/x64/builtins-x64.cc |
index d7bc75fcb3fa7688b7f32c5d5d2a9d2bd7c1ae4a..d67583730d9536d6bb9fce43bc6b44a344b0d6c4 100644 |
--- a/src/builtins/x64/builtins-x64.cc |
+++ b/src/builtins/x64/builtins-x64.cc |
@@ -2563,8 +2563,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ Push(rax); |
__ Push(rdi); |
__ movp(rax, rcx); |
+ __ Push(rsi); |
ToObjectStub stub(masm->isolate()); |
__ CallStub(&stub); |
+ __ Pop(rsi); |
__ movp(rcx, rax); |
__ Pop(rdi); |
__ Pop(rax); |