| Index: runtime/vm/stub_code_x64_test.cc
|
| diff --git a/runtime/vm/stub_code_x64_test.cc b/runtime/vm/stub_code_x64_test.cc
|
| index f1c43b14a60d1ef93860958786f80a25f7581605..56b56fc282275bb167bc4ce0f883d437b4ad54c3 100644
|
| --- a/runtime/vm/stub_code_x64_test.cc
|
| +++ b/runtime/vm/stub_code_x64_test.cc
|
| @@ -86,8 +86,8 @@ static void GenerateCallToCallLeafRuntimeStub(Assembler* assembler,
|
| const Smi& smi2 = Smi::ZoneHandle(Smi::New(value2));
|
| __ enter(Immediate(0));
|
| __ ReserveAlignedFrameSpace(0);
|
| - __ LoadObject(RDI, smi1, PP); // Set up argument 1 smi1.
|
| - __ LoadObject(RSI, smi2, PP); // Set up argument 2 smi2.
|
| + __ LoadObject(CallingConventions::kArg1Reg, smi1, PP);
|
| + __ LoadObject(CallingConventions::kArg2Reg, smi2, PP);
|
| __ CallRuntime(kTestLeafSmiAddRuntimeEntry, 2); // Call SmiAdd runtime func.
|
| __ leave();
|
| __ ret(); // Return value is in RAX.
|
|
|