Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 2fe081ee676bd1ee76d7f871c20271c596322524..b22342e2f9d79ee3a4888acf395c939ff5b077aa 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -828,7 +828,7 @@ static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) { |
(a0.bit() | a1.bit() | ra.bit() | fp.bit()) & ~sp.bit(); |
FrameScope scope(masm, StackFrame::MANUAL); |
__ MultiPush(saved_regs); |
- __ PrepareCallCFunction(1, 0, a2); |
+ __ PrepareCallCFunction(2, 0, a2); |
__ li(a1, Operand(ExternalReference::isolate_address(masm->isolate()))); |
__ CallCFunction( |
ExternalReference::get_make_code_young_function(masm->isolate()), 2); |
@@ -870,7 +870,7 @@ void Builtins::Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm) { |
(a0.bit() | a1.bit() | ra.bit() | fp.bit()) & ~sp.bit(); |
FrameScope scope(masm, StackFrame::MANUAL); |
__ MultiPush(saved_regs); |
- __ PrepareCallCFunction(1, 0, a2); |
+ __ PrepareCallCFunction(2, 0, a2); |
__ li(a1, Operand(ExternalReference::isolate_address(masm->isolate()))); |
__ CallCFunction( |
ExternalReference::get_mark_code_as_executed_function(masm->isolate()), |