Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index ea5e6857b19fb72419657374546e17e9493cdef0..cc1967501c1f76fd2e0159cacafc80d4ca2f7e80 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -6364,7 +6364,7 @@ void ClosureCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
compiler->RecordSafepoint(locs()); |
// Marks either the continuation point in unoptimized code or the |
// deoptimization point in optimized code, after call. |
- const intptr_t deopt_id_after = Isolate::ToDeoptAfter(deopt_id()); |
+ const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id()); |
if (compiler->is_optimizing()) { |
compiler->AddDeoptIndexAtCall(deopt_id_after, token_pos()); |
} |
@@ -6422,7 +6422,7 @@ void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
ASSERT(!compiler->is_optimizing()); |
__ CallPatchable(*StubCode::DebugStepCheck_entry()); |
- compiler->AddCurrentDescriptor(stub_kind_, Isolate::kNoDeoptId, token_pos()); |
+ compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos()); |
compiler->RecordSafepoint(locs()); |
} |