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

Unified Diff: runtime/vm/instructions_x64_test.cc

Issue 9460015: Do not count invocations but usage of a function, i.e., increment a function's counter at IC calls … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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 | « runtime/vm/instructions_ia32_test.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/instructions_x64_test.cc
===================================================================
--- runtime/vm/instructions_x64_test.cc (revision 4582)
+++ runtime/vm/instructions_x64_test.cc (working copy)
@@ -28,7 +28,7 @@
ASSEMBLER_TEST_GENERATE(Jump, assembler) {
__ jmp(&StubCode::MegamorphicLookupLabel());
- __ jmp(&StubCode::OptimizeInvokedFunctionLabel());
+ __ jmp(&StubCode::AllocateArrayLabel());
__ ret();
}
@@ -38,13 +38,13 @@
EXPECT_EQ(StubCode::MegamorphicLookupLabel().address(),
jump1.TargetAddress());
JumpPattern jump2(entry + jump1.pattern_length_in_bytes());
- EXPECT_EQ(StubCode::OptimizeInvokedFunctionLabel().address(),
+ EXPECT_EQ(StubCode::AllocateArrayLabel().address(),
jump2.TargetAddress());
uword target1 = jump1.TargetAddress();
uword target2 = jump2.TargetAddress();
jump1.SetTargetAddress(target2);
jump2.SetTargetAddress(target1);
- EXPECT_EQ(StubCode::OptimizeInvokedFunctionLabel().address(),
+ EXPECT_EQ(StubCode::AllocateArrayLabel().address(),
jump1.TargetAddress());
EXPECT_EQ(StubCode::MegamorphicLookupLabel().address(),
jump2.TargetAddress());
« no previous file with comments | « runtime/vm/instructions_ia32_test.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698