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()); |
} |