Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index 7a0beb57bc7e3617e1d1881afbe2014ec7eafb12..918e07e2af52ba70bbe9ed59bfb2f0fc2d131273 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -936,7 +936,7 @@ void MacroAssembler::EnterExitFrameEpilogue(int argc, bool save_doubles) { |
} |
-void MacroAssembler::EnterExitFrame(bool save_doubles) { |
+void MacroAssembler::EnterExitFrame(int argc, bool save_doubles) { |
EnterExitFramePrologue(); |
// Set up argc and argv in callee-saved registers. |
@@ -945,7 +945,7 @@ void MacroAssembler::EnterExitFrame(bool save_doubles) { |
lea(esi, Operand(ebp, eax, times_4, offset)); |
// Reserve space for argc, argv and isolate. |
- EnterExitFrameEpilogue(3, save_doubles); |
+ EnterExitFrameEpilogue(argc, save_doubles); |
} |