Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: runtime/vm/instructions_x64_test.cc

Issue 221173011: Simplify handling of IC and megamorphic cache misses. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/instructions_x64_test.cc
===================================================================
--- runtime/vm/instructions_x64_test.cc (revision 34771)
+++ runtime/vm/instructions_x64_test.cc (working copy)
@@ -15,14 +15,14 @@
#define __ assembler->
ASSEMBLER_TEST_GENERATE(Call, assembler) {
- __ call(&StubCode::InstanceFunctionLookupLabel());
+ __ call(&StubCode::InvokeDartCodeLabel());
__ ret();
}
ASSEMBLER_TEST_RUN(Call, test) {
CallPattern call(test->entry(), test->code());
- EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
+ EXPECT_EQ(StubCode::InvokeDartCodeLabel().address(),
call.TargetAddress());
}
@@ -35,7 +35,7 @@
__ pushq(PP);
__ LoadPoolPointer(PP);
prologue_code_size = assembler->CodeSize();
- __ JmpPatchable(&StubCode::InstanceFunctionLookupLabel(), PP);
+ __ JmpPatchable(&StubCode::InvokeDartCodeLabel(), PP);
__ JmpPatchable(&StubCode::AllocateArrayLabel(), PP);
__ popq(PP);
__ ret();
@@ -53,7 +53,7 @@
EXPECT(status);
JumpPattern jump1(test->entry() + prologue_code_size, test->code());
jump1.IsValid();
- EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
+ EXPECT_EQ(StubCode::InvokeDartCodeLabel().address(),
jump1.TargetAddress());
JumpPattern jump2((test->entry() +
jump1.pattern_length_in_bytes() + prologue_code_size),
@@ -66,7 +66,7 @@
jump2.SetTargetAddress(target1);
EXPECT_EQ(StubCode::AllocateArrayLabel().address(),
jump1.TargetAddress());
- EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
+ EXPECT_EQ(StubCode::InvokeDartCodeLabel().address(),
jump2.TargetAddress());
}

Powered by Google App Engine
This is Rietveld 408576698