Index: runtime/vm/stack_frame.cc |
=================================================================== |
--- runtime/vm/stack_frame.cc (revision 38237) |
+++ runtime/vm/stack_frame.cc (working copy) |
@@ -227,10 +227,9 @@ |
PcDescriptors::Iterator iter(descriptors, RawPcDescriptors::kAnyKind); |
while (iter.HasNext()) { |
const RawPcDescriptors::PcDescriptorRec& rec = iter.Next(); |
- if ((rec.pc == pc()) && (rec.try_index != -1)) { |
- const intptr_t try_index = rec.try_index; |
+ if ((rec.pc() == pc()) && (rec.try_index() != -1)) { |
RawExceptionHandlers::HandlerInfo handler_info; |
- handlers.GetHandlerInfo(try_index, &handler_info); |
+ handlers.GetHandlerInfo(rec.try_index(), &handler_info); |
*handler_pc = handler_info.handler_pc; |
*needs_stacktrace = handler_info.needs_stacktrace; |
*has_catch_all = handler_info.has_catch_all; |
@@ -252,8 +251,8 @@ |
PcDescriptors::Iterator iter(descriptors, RawPcDescriptors::kAnyKind); |
while (iter.HasNext()) { |
const RawPcDescriptors::PcDescriptorRec& rec = iter.Next(); |
- if (rec.pc == pc()) { |
- return rec.token_pos; |
+ if (rec.pc() == pc()) { |
+ return rec.token_pos(); |
} |
} |
return -1; |