Index: runtime/vm/stack_frame.cc |
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc |
index ff5f8a310642cccd9cb7aee68ac09ece775f2bd2..5f86c3bc8fdd009b71366a6131d2771a170152c7 100644 |
--- a/runtime/vm/stack_frame.cc |
+++ b/runtime/vm/stack_frame.cc |
@@ -203,10 +203,11 @@ RawCode* StackFrame::GetCodeObject() const { |
} |
-bool StackFrame::FindExceptionHandler(Isolate* isolate, |
+bool StackFrame::FindExceptionHandler(Thread* thread, |
uword* handler_pc, |
bool* needs_stacktrace, |
bool* has_catch_all) const { |
+ Isolate* isolate = thread->isolate(); |
REUSABLE_CODE_HANDLESCOPE(isolate); |
Code& code = reused_code_handle.Handle(); |
code = LookupDartCode(); |