Index: runtime/vm/class_finalizer.cc |
=================================================================== |
--- runtime/vm/class_finalizer.cc (revision 31435) |
+++ runtime/vm/class_finalizer.cc (working copy) |
@@ -121,9 +121,7 @@ |
return true; |
} |
- LongJump* base = isolate->long_jump_base(); |
- LongJump jump; |
- isolate->set_long_jump_base(&jump); |
+ LongJumpScope jump; |
if (setjmp(*jump.Set()) == 0) { |
GrowableObjectArray& class_array = GrowableObjectArray::Handle(); |
class_array = object_store->pending_classes(); |
@@ -153,7 +151,6 @@ |
} else { |
retval = false; |
} |
- isolate->set_long_jump_base(base); |
return retval; |
} |