Index: runtime/vm/simulator_arm.cc |
diff --git a/runtime/vm/simulator_arm.cc b/runtime/vm/simulator_arm.cc |
index 0ef9308c58f79c156b12b58b4146c3907d3fcd2c..3077c8b6ad91be9acbe9deace500ae564550095a 100644 |
--- a/runtime/vm/simulator_arm.cc |
+++ b/runtime/vm/simulator_arm.cc |
@@ -247,7 +247,7 @@ bool SimulatorDebugger::GetDValue(char* desc, double* value) { |
TokenPosition SimulatorDebugger::GetApproximateTokenIndex(const Code& code, |
uword pc) { |
TokenPosition token_pos = TokenPosition::kNoSource; |
- uword pc_offset = pc - code.EntryPoint(); |
+ uword pc_offset = pc - code.PayloadStart(); |
const PcDescriptors& descriptors = |
PcDescriptors::Handle(code.pc_descriptors()); |
PcDescriptors::Iterator iter(descriptors, RawPcDescriptors::kAnyKind); |