Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index ae50d7965bd663d8e53792515d231e873d025032..326987e52cae6e6bc6171a5b67ba95bf16c16f3e 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -803,7 +803,7 @@ static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) { |
// r1 - isolate |
FrameScope scope(masm, StackFrame::MANUAL); |
__ stm(db_w, sp, r0.bit() | r1.bit() | fp.bit() | lr.bit()); |
- __ PrepareCallCFunction(1, 0, r2); |
+ __ PrepareCallCFunction(2, 0, r2); |
__ mov(r1, Operand(ExternalReference::isolate_address(masm->isolate()))); |
__ CallCFunction( |
ExternalReference::get_make_code_young_function(masm->isolate()), 2); |
@@ -836,7 +836,7 @@ void Builtins::Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm) { |
// r1 - isolate |
FrameScope scope(masm, StackFrame::MANUAL); |
__ stm(db_w, sp, r0.bit() | r1.bit() | fp.bit() | lr.bit()); |
- __ PrepareCallCFunction(1, 0, r2); |
+ __ PrepareCallCFunction(2, 0, r2); |
__ mov(r1, Operand(ExternalReference::isolate_address(masm->isolate()))); |
__ CallCFunction(ExternalReference::get_mark_code_as_executed_function( |
masm->isolate()), 2); |