| Index: runtime/vm/stack_frame.cc
|
| diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc
|
| index 66f13c2a61894066ee4a11c2006cdb3e91647210..0a6b420ed1c13e077d4564dcd1bda46c22f173f5 100644
|
| --- a/runtime/vm/stack_frame.cc
|
| +++ b/runtime/vm/stack_frame.cc
|
| @@ -162,14 +162,10 @@ bool StackFrame::FindExceptionHandler(uword* handler_pc,
|
| return false; // Stub frames do not have exception handlers.
|
| }
|
|
|
| - ExceptionHandlers& handlers =
|
| - ExceptionHandlers::Handle(code.exception_handlers());
|
| - if (handlers.Length() == 0) {
|
| - return false;
|
| - }
|
| // Find pc descriptor for the current pc.
|
| const PcDescriptors& descriptors =
|
| PcDescriptors::Handle(code.pc_descriptors());
|
| + ExceptionHandlers& handlers = ExceptionHandlers::Handle();
|
| for (intptr_t i = 0; i < descriptors.Length(); i++) {
|
| if ((static_cast<uword>(descriptors.PC(i)) == pc()) &&
|
| (descriptors.TryIndex(i) != -1)) {
|
|
|