Index: runtime/vm/profiler_test.cc |
diff --git a/runtime/vm/profiler_test.cc b/runtime/vm/profiler_test.cc |
index 4ab49bdc03d6f0cf630925548ed6ffaedd30c8c1..8bb623263205c37b64d16b9699f4690b4eb7952e 100644 |
--- a/runtime/vm/profiler_test.cc |
+++ b/runtime/vm/profiler_test.cc |
@@ -2393,7 +2393,7 @@ static uword FindPCForTokenPosition(const Code& code, |
while (it.MoveNext()) { |
if (it.TokenPos() == tp) { |
- return it.PcOffset() + code.EntryPoint(); |
+ return it.PcOffset() + code.PayloadStart(); |
} |
} |