Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 5f80b4d52f15dde6268c568abace15302ef96e81..40710dc7cb464d44da127a41dde7d3ccc06f62b6 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -967,7 +967,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. |
@@ -976,7 +976,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); |
} |