Index: runtime/vm/simulator_mips.cc |
diff --git a/runtime/vm/simulator_mips.cc b/runtime/vm/simulator_mips.cc |
index 8eff9edb6095fb126d86e0e53e89dfa66d78de7d..eb03c4997dc8a80874d518c544c5dc6101d10d3f 100644 |
--- a/runtime/vm/simulator_mips.cc |
+++ b/runtime/vm/simulator_mips.cc |
@@ -258,7 +258,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); |