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

Unified Diff: vm/instructions_x64_test.cc

Issue 10824266: Remove functions_cache_ and it's references as it is not being used anymore. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « vm/instructions_ia32_test.cc ('k') | vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « vm/instructions_ia32_test.cc ('k') | vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698