Index: runtime/vm/service_test.cc |
diff --git a/runtime/vm/service_test.cc b/runtime/vm/service_test.cc |
index 4ec886de87f853660ced8c210d57ad0e4c28015d..8a19298d5529e5278cb1d70698966da71fa71a7a 100644 |
--- a/runtime/vm/service_test.cc |
+++ b/runtime/vm/service_test.cc |
@@ -228,7 +228,7 @@ TEST_CASE(Service_Code) { |
const Code& code_c = Code::Handle(function_c.CurrentCode()); |
EXPECT(!code_c.IsNull()); |
// Use the entry of the code object as it's reference. |
- uword entry = code_c.EntryPoint(); |
+ uword entry = code_c.PayloadStart(); |
int64_t compile_timestamp = code_c.compile_timestamp(); |
EXPECT_GT(code_c.Size(), 16); |
uword last = entry + code_c.Size(); |