Index: runtime/vm/kernel_binary_flowgraph.cc |
diff --git a/runtime/vm/kernel_binary_flowgraph.cc b/runtime/vm/kernel_binary_flowgraph.cc |
index 9e39c23f5ff2da11bbf27521d69b748cfae5cebc..e6a41fc2fa13ce4630d1f768ca24e542a5ca4134 100644 |
--- a/runtime/vm/kernel_binary_flowgraph.cc |
+++ b/runtime/vm/kernel_binary_flowgraph.cc |
@@ -3554,7 +3554,7 @@ Fragment StreamingFlowGraphBuilder::BuildWhileStatement() { |
Fragment loop(join); |
loop += CheckStackOverflow(); |
loop += condition; |
- entry = new (Z) GotoInstr(join, Thread::Current()->GetNextDeoptId()); |
+ entry = new (Z) GotoInstr(join); |
} else { |
entry = condition.entry; |
} |
@@ -3588,8 +3588,7 @@ Fragment StreamingFlowGraphBuilder::BuildDoStatement() { |
repeat += Goto(join); |
loop_depth_dec(); |
- return Fragment(new (Z) GotoInstr(join, Thread::Current()->GetNextDeoptId()), |
- loop_exit); |
+ return Fragment(new (Z) GotoInstr(join), loop_exit); |
} |
Fragment StreamingFlowGraphBuilder::BuildForStatement() { |