| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 9c2d9e5a77c18d3c0c9939e2ee5746c9c39fb78b..baa4e95c2e050fc6256e286484d0476c0a9b7659 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1076,7 +1076,7 @@ Object* Isolate::FindHandler() {
|
| thread_local_top()->handler_ = handler->next()->address();
|
|
|
| // Gather information from the handler.
|
| - code = handler->code();
|
| + code = frame->LookupCode();
|
| handler_sp = handler->address() + StackHandlerConstants::kSize;
|
| offset = Smi::cast(code->handler_table()->get(0))->value();
|
| break;
|
| @@ -1091,7 +1091,7 @@ Object* Isolate::FindHandler() {
|
| thread_local_top()->handler_ = handler->next()->address();
|
|
|
| // Gather information from the handler.
|
| - code = handler->code();
|
| + code = frame->LookupCode();
|
| context = handler->context();
|
| offset = Smi::cast(code->handler_table()->get(handler->index()))->value();
|
| handler_sp = handler->address() + StackHandlerConstants::kSize;
|
|
|