Index: runtime/vm/intermediate_language_mips.cc |
=================================================================== |
--- runtime/vm/intermediate_language_mips.cc (revision 26825) |
+++ runtime/vm/intermediate_language_mips.cc (working copy) |
@@ -252,6 +252,7 @@ |
compiler->GenerateCallRuntime(token_pos, |
deopt_id, |
kConditionTypeErrorRuntimeEntry, |
+ 1, |
locs); |
// We should never return here. |
__ break_(0); |
@@ -1869,7 +1870,7 @@ |
__ addiu(SP, SP, Immediate(-2 * kWordSize)); |
__ sw(field_reg, Address(SP, 1 * kWordSize)); |
__ sw(value_reg, Address(SP, 0 * kWordSize)); |
- __ CallRuntime(kUpdateFieldCidRuntimeEntry); |
+ __ CallRuntime(kUpdateFieldCidRuntimeEntry, 2); |
__ Drop(2); // Drop the field and the value. |
} |
@@ -2025,6 +2026,7 @@ |
compiler->GenerateCallRuntime(token_pos(), |
deopt_id(), |
kAllocateObjectWithBoundsCheckRuntimeEntry, |
+ 3, |
locs()); |
__ Drop(3); |
ASSERT(locs()->out().reg() == V0); |
@@ -2077,6 +2079,7 @@ |
compiler->GenerateCallRuntime(token_pos(), |
deopt_id(), |
kInstantiateTypeRuntimeEntry, |
+ 2, |
locs()); |
// Pop instantiated type. |
__ lw(result_reg, Address(SP, 2 * kWordSize)); |
@@ -2130,6 +2133,7 @@ |
compiler->GenerateCallRuntime(token_pos(), |
deopt_id(), |
kInstantiateTypeArgumentsRuntimeEntry, |
+ 2, |
locs()); |
// Pop instantiated type arguments. |
__ lw(result_reg, Address(SP, 2 * kWordSize)); |
@@ -2272,6 +2276,7 @@ |
compiler->GenerateCallRuntime(token_pos(), |
deopt_id(), |
kCloneContextRuntimeEntry, |
+ 1, |
locs()); |
__ lw(result, Address(SP, 1 * kWordSize)); // Get result (cloned context). |
__ addiu(SP, SP, Immediate(2 * kWordSize)); |
@@ -2347,6 +2352,7 @@ |
compiler->GenerateCallRuntime(instruction_->token_pos(), |
instruction_->deopt_id(), |
kStackOverflowRuntimeEntry, |
+ 0, |
instruction_->locs()); |
if (FLAG_use_osr && !compiler->is_optimizing() && instruction_->in_loop()) { |
@@ -3579,7 +3585,7 @@ |
} |
__ Bind(&do_call); |
// double values are passed and returned in vfp registers. |
- __ CallRuntime(TargetFunction()); |
+ __ CallRuntime(TargetFunction(), InputCount()); |
__ Bind(&skip_call); |
} |
@@ -3830,6 +3836,7 @@ |
compiler->GenerateCallRuntime(token_pos(), |
deopt_id(), |
kThrowRuntimeEntry, |
+ 1, |
locs()); |
__ break_(0); |
} |
@@ -3844,6 +3851,7 @@ |
compiler->GenerateCallRuntime(token_pos(), |
deopt_id(), |
kReThrowRuntimeEntry, |
+ 2, |
locs()); |
__ break_(0); |
} |