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

Unified Diff: runtime/vm/find_code_object_test.cc

Issue 2226893002: Optimize AOT's switchable calls for the monomorphic case. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 4 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 | « runtime/vm/exceptions.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/find_code_object_test.cc
diff --git a/runtime/vm/find_code_object_test.cc b/runtime/vm/find_code_object_test.cc
index 2f53147f506e2acaaa457333bf188591bf25628a..75ffa2b0598067a96921ffed772d70d4c075cd87 100644
--- a/runtime/vm/find_code_object_test.cc
+++ b/runtime/vm/find_code_object_test.cc
@@ -133,7 +133,7 @@ VM_TEST_CASE(FindCodeObject) {
EXPECT(!function.IsNull());
code = function.CurrentCode();
EXPECT(code.Size() > 16);
- pc = code.EntryPoint() + 16;
+ pc = code.PayloadStart() + 16;
EXPECT(Code::LookupCode(pc) == code.raw());
OS::SNPrint(buffer, 256, "moo%d", 54);
@@ -142,7 +142,7 @@ VM_TEST_CASE(FindCodeObject) {
EXPECT(!function.IsNull());
code = function.CurrentCode();
EXPECT(code.Size() > 16);
- pc = code.EntryPoint() + 16;
+ pc = code.PayloadStart() + 16;
EXPECT(Code::LookupCode(pc) == code.raw());
// Lookup the large function
@@ -152,11 +152,11 @@ VM_TEST_CASE(FindCodeObject) {
EXPECT(!function.IsNull());
code = function.CurrentCode();
EXPECT(code.Size() > 16);
- pc = code.EntryPoint() + 16;
+ pc = code.PayloadStart() + 16;
EXPECT(code.Size() > (PageSpace::kPageSizeInWords << kWordSizeLog2));
EXPECT(Code::LookupCode(pc) == code.raw());
EXPECT(code.Size() > (1 * MB));
- pc = code.EntryPoint() + (1 * MB);
+ pc = code.PayloadStart() + (1 * MB);
EXPECT(Code::LookupCode(pc) == code.raw());
}
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698