| Index: runtime/vm/longjump.cc
|
| diff --git a/runtime/vm/longjump.cc b/runtime/vm/longjump.cc
|
| index 10a33db8cc8b1dc0da1fc1f3f6f52f359b09083a..563c64ba7edf539c0836215d2fa608ccc089730d 100644
|
| --- a/runtime/vm/longjump.cc
|
| +++ b/runtime/vm/longjump.cc
|
| @@ -28,11 +28,9 @@ bool LongJumpScope::IsSafeToJump() {
|
| Thread* thread = Thread::Current();
|
| uword jumpbuf_addr = Isolate::GetCurrentStackPointer();
|
| #if defined(USING_SIMULATOR)
|
| - {
|
| - Isolate* isolate = thread->isolate();
|
| - ASSERT(isolate->MutatorThreadIsCurrentThread());
|
| - uword top_exit_frame_info = isolate->simulator()->top_exit_frame_info();
|
| - }
|
| + Isolate* isolate = thread->isolate();
|
| + ASSERT(isolate->MutatorThreadIsCurrentThread());
|
| + uword top_exit_frame_info = isolate->simulator()->top_exit_frame_info();
|
| #else
|
| uword top_exit_frame_info = thread->top_exit_frame_info();
|
| #endif
|
|
|