Index: runtime/vm/flow_graph.cc |
diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc |
index 2ca8a1606617f45dd64fe9d50b4abed671e0780d..a9c8302bee439f3d8e3ba1cbfcc326311f7051ee 100644 |
--- a/runtime/vm/flow_graph.cc |
+++ b/runtime/vm/flow_graph.cc |
@@ -1018,7 +1018,8 @@ void FlowGraph::Rename(GrowableArray<PhiInstr*>* live_phis, |
for (intptr_t i = parameter_count(); i < variable_count(); ++i) { |
if (i == CurrentContextEnvIndex()) { |
if (function().IsClosureFunction()) { |
- CurrentContextInstr* context = new CurrentContextInstr(); |
+ CurrentContextInstr* context = |
+ new CurrentContextInstr(Thread::kNoDeoptId); |
context->set_ssa_temp_index(alloc_ssa_temp_index()); // New SSA temp. |
AddToInitialDefinitions(context); |
env.Add(context); |