Index: runtime/vm/deferred_objects.cc |
diff --git a/runtime/vm/deferred_objects.cc b/runtime/vm/deferred_objects.cc |
index 6aac45a6c392a200830157eb44d2c61baadb3381..3d86592165b4b397f3e18c8742803f7f8dc8f20a 100644 |
--- a/runtime/vm/deferred_objects.cc |
+++ b/runtime/vm/deferred_objects.cc |
@@ -114,7 +114,7 @@ void DeferredRetAddr::Materialize(DeoptContext* deopt_context) { |
// Check that deopt_id exists. |
// TODO(vegorov): verify after deoptimization targets as well. |
#ifdef DEBUG |
- ASSERT(Isolate::IsDeoptAfter(deopt_id_) || |
+ ASSERT(Thread::IsDeoptAfter(deopt_id_) || |
(code.GetPcForDeoptId(deopt_id_, RawPcDescriptors::kDeopt) != 0)); |
#endif |