| Index: vm/instructions_x64_test.cc
|
| ===================================================================
|
| --- vm/instructions_x64_test.cc (revision 10541)
|
| +++ vm/instructions_x64_test.cc (working copy)
|
| @@ -15,19 +15,20 @@
|
| #define __ assembler->
|
|
|
| ASSEMBLER_TEST_GENERATE(Call, assembler) {
|
| - __ call(&StubCode::MegamorphicLookupLabel());
|
| + __ call(&StubCode::InstanceFunctionLookupLabel());
|
| __ ret();
|
| }
|
|
|
|
|
| ASSEMBLER_TEST_RUN(Call, entry) {
|
| CallPattern call(entry);
|
| - EXPECT_EQ(StubCode::MegamorphicLookupLabel().address(), call.TargetAddress());
|
| + EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
|
| + call.TargetAddress());
|
| }
|
|
|
|
|
| ASSEMBLER_TEST_GENERATE(Jump, assembler) {
|
| - __ jmp(&StubCode::MegamorphicLookupLabel());
|
| + __ jmp(&StubCode::InstanceFunctionLookupLabel());
|
| __ jmp(&StubCode::AllocateArrayLabel());
|
| __ ret();
|
| }
|
| @@ -36,7 +37,7 @@
|
| ASSEMBLER_TEST_RUN(Jump, entry) {
|
| JumpPattern jump1(entry);
|
| jump1.IsValid();
|
| - EXPECT_EQ(StubCode::MegamorphicLookupLabel().address(),
|
| + EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
|
| jump1.TargetAddress());
|
| JumpPattern jump2(entry + jump1.pattern_length_in_bytes());
|
| EXPECT_EQ(StubCode::AllocateArrayLabel().address(),
|
| @@ -47,7 +48,7 @@
|
| jump2.SetTargetAddress(target1);
|
| EXPECT_EQ(StubCode::AllocateArrayLabel().address(),
|
| jump1.TargetAddress());
|
| - EXPECT_EQ(StubCode::MegamorphicLookupLabel().address(),
|
| + EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
|
| jump2.TargetAddress());
|
| }
|
|
|
|
|