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

Unified Diff: runtime/vm/instructions_ia32_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_ia32_test.cc
===================================================================
--- runtime/vm/instructions_ia32_test.cc (revision 34771)
+++ runtime/vm/instructions_ia32_test.cc (working copy)
@@ -17,20 +17,20 @@
#define __ assembler->
ASSEMBLER_TEST_GENERATE(Call, assembler) {
- __ call(&StubCode::InstanceFunctionLookupLabel());
+ __ call(&StubCode::InvokeDartCodeLabel());
__ ret();
}
ASSEMBLER_TEST_RUN(Call, test) {
CallPattern call(test->entry());
- EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
+ EXPECT_EQ(StubCode::InvokeDartCodeLabel().address(),
call.TargetAddress());
}
ASSEMBLER_TEST_GENERATE(Jump, assembler) {
- __ jmp(&StubCode::InstanceFunctionLookupLabel());
+ __ jmp(&StubCode::InvokeDartCodeLabel());
__ jmp(&StubCode::AllocateArrayLabel());
__ ret();
}
@@ -45,7 +45,7 @@
VirtualMemory::kReadWrite);
EXPECT(status);
JumpPattern jump1(test->entry(), test->code());
- EXPECT_EQ(StubCode::InstanceFunctionLookupLabel().address(),
+ EXPECT_EQ(StubCode::InvokeDartCodeLabel().address(),
jump1.TargetAddress());
JumpPattern jump2(test->entry() + jump1.pattern_length_in_bytes(),
test->code());
@@ -57,7 +57,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