Index: runtime/vm/code_generator.cc |
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
index d640955a2e4f11b7fe8a7e1e06ca1b7234f31d7f..60a3ab301e2dc50e0572fa8f560a3ba41585145b 100644 |
--- a/runtime/vm/code_generator.cc |
+++ b/runtime/vm/code_generator.cc |
@@ -1387,7 +1387,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) { |
ASSERT(function.unoptimized_code() != Object::null()); |
intptr_t osr_id = |
Code::Handle(function.unoptimized_code()).GetDeoptIdForOsr(frame->pc()); |
- ASSERT(osr_id != Isolate::kNoDeoptId); |
+ ASSERT(osr_id != Thread::kNoDeoptId); |
if (FLAG_trace_osr) { |
OS::Print("Attempting OSR for %s at id=%" Pd ", count=%" Pd "\n", |
function.ToFullyQualifiedCString(), |