| Index: runtime/vm/longjump.cc
|
| diff --git a/runtime/vm/longjump.cc b/runtime/vm/longjump.cc
|
| index 9f826f5479622ee71d628622434dbd8e20ef20f2..5820a472ea54299a8ff17f95ab9db0d71dcf2eb4 100644
|
| --- a/runtime/vm/longjump.cc
|
| +++ b/runtime/vm/longjump.cc
|
| @@ -28,8 +28,8 @@ bool LongJumpScope::IsSafeToJump() {
|
| Thread* thread = Thread::Current();
|
| uword jumpbuf_addr = Isolate::GetCurrentStackPointer();
|
| #if defined(USING_SIMULATOR)
|
| - Isolate* isolate = thread->isolate();
|
| - uword top_exit_frame_info = isolate->simulator()->top_exit_frame_info();
|
| + Simulator* sim = Simulator::Current();
|
| + uword top_exit_frame_info = sim->top_exit_frame_info();
|
| #else
|
| uword top_exit_frame_info = thread->top_exit_frame_info();
|
| #endif
|
|
|