| Index: runtime/vm/simulator_mips.cc
|
| diff --git a/runtime/vm/simulator_mips.cc b/runtime/vm/simulator_mips.cc
|
| index a6bd8de87b836d326d225199a88a81ef9f7410d8..a9f12dd1e80312b854739f7b5e9535154d97d035 100644
|
| --- a/runtime/vm/simulator_mips.cc
|
| +++ b/runtime/vm/simulator_mips.cc
|
| @@ -2467,7 +2467,6 @@ void Simulator::Longjmp(uword pc,
|
| // The C++ caller has not cleaned up the stack memory of C++ frames.
|
| // Prepare for unwinding frames by destroying all the stack resources
|
| // in the previous C++ frames.
|
| - Isolate* isolate = thread->isolate();
|
| StackResource::Unwind(thread);
|
|
|
| // Unwind the C++ stack and continue simulation in the target frame.
|
| @@ -2478,7 +2477,7 @@ void Simulator::Longjmp(uword pc,
|
| // Set the tag.
|
| thread->set_vm_tag(VMTag::kDartTagId);
|
| // Clear top exit frame.
|
| - isolate->set_top_exit_frame_info(0);
|
| + thread->set_top_exit_frame_info(0);
|
|
|
| ASSERT(raw_exception != Object::null());
|
| set_register(kExceptionObjectReg, bit_cast<int32_t>(raw_exception));
|
|
|