Index: runtime/vm/simulator_arm.cc |
=================================================================== |
--- runtime/vm/simulator_arm.cc (revision 38237) |
+++ runtime/vm/simulator_arm.cc (working copy) |
@@ -272,10 +272,10 @@ |
PcDescriptors::Iterator iter(descriptors, RawPcDescriptors::kAnyKind); |
while (iter.HasNext()) { |
const RawPcDescriptors::PcDescriptorRec& rec = iter.Next(); |
- if (rec.pc == pc) { |
- return rec.token_pos; |
- } else if ((token_pos <= 0) && (rec.pc > pc)) { |
- token_pos = rec.token_pos; |
+ if (rec.pc() == pc) { |
+ return rec.token_pos(); |
+ } else if ((token_pos <= 0) && (rec.pc() > pc)) { |
+ token_pos = rec.token_pos(); |
} |
} |
return token_pos; |