Index: runtime/vm/longjump.cc |
diff --git a/runtime/vm/longjump.cc b/runtime/vm/longjump.cc |
index 0e53b600ddfe21860fd8551db4d83c4f056107d4..e2cf726740e99e8f8b1a06119222774b13b9e530 100644 |
--- a/runtime/vm/longjump.cc |
+++ b/runtime/vm/longjump.cc |
@@ -53,7 +53,7 @@ void LongJumpScope::Jump(int value, const Error& error) { |
#if defined(DEBUG) |
#define CHECK_REUSABLE_HANDLE(name) \ |
- ASSERT(!isolate->reusable_##name##_handle_scope_active()); |
+ ASSERT(!thread->reusable_##name##_handle_scope_active()); |
REUSABLE_HANDLE_LIST(CHECK_REUSABLE_HANDLE) |
#undef CHECK_REUSABLE_HANDLE |
#endif // defined(DEBUG) |