Index: runtime/vm/stub_code_arm_test.cc |
=================================================================== |
--- runtime/vm/stub_code_arm_test.cc (revision 26825) |
+++ runtime/vm/stub_code_arm_test.cc (working copy) |
@@ -51,7 +51,7 @@ |
__ PushObject(smi1); // Push argument 1 smi1. |
__ PushObject(smi2); // Push argument 2 smi2. |
ASSERT(kTestSmiSubRuntimeEntry.argument_count() == argc); |
- __ CallRuntime(kTestSmiSubRuntimeEntry); // Call SmiSub runtime func. |
+ __ CallRuntime(kTestSmiSubRuntimeEntry, argc); // Call SmiSub runtime func. |
__ AddImmediate(SP, argc * kWordSize); |
__ Pop(R0); // Pop return value from return slot. |
__ LeaveDartFrame(); |
@@ -86,7 +86,7 @@ |
__ ReserveAlignedFrameSpace(0); |
__ LoadObject(R0, smi1); // Set up argument 1 smi1. |
__ LoadObject(R1, smi2); // Set up argument 2 smi2. |
- __ CallRuntime(kTestLeafSmiAddRuntimeEntry); // Call SmiAdd runtime func. |
+ __ CallRuntime(kTestLeafSmiAddRuntimeEntry, 2); // Call SmiAdd runtime func. |
__ LeaveDartFrame(); |
__ Ret(); // Return value is in R0. |
} |