| Index: runtime/vm/instructions_x64_test.cc
|
| ===================================================================
|
| --- runtime/vm/instructions_x64_test.cc (revision 18603)
|
| +++ runtime/vm/instructions_x64_test.cc (working copy)
|
| @@ -20,8 +20,8 @@
|
| }
|
|
|
|
|
| -ASSEMBLER_TEST_RUN(Call, entry) {
|
| - CallPattern call(entry);
|
| +ASSEMBLER_TEST_RUN(Call, test) {
|
| + CallPattern call(test->entry());
|
| EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
|
| call.TargetAddress());
|
| }
|
| @@ -34,12 +34,12 @@
|
| }
|
|
|
|
|
| -ASSEMBLER_TEST_RUN(Jump, entry) {
|
| - JumpPattern jump1(entry);
|
| +ASSEMBLER_TEST_RUN(Jump, test) {
|
| + JumpPattern jump1(test->entry());
|
| jump1.IsValid();
|
| EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
|
| jump1.TargetAddress());
|
| - JumpPattern jump2(entry + jump1.pattern_length_in_bytes());
|
| + JumpPattern jump2(test->entry() + jump1.pattern_length_in_bytes());
|
| EXPECT_EQ(StubCode::AllocateArrayLabel().address(),
|
| jump2.TargetAddress());
|
| uword target1 = jump1.TargetAddress();
|
|
|