Index: runtime/vm/flow_graph_optimizer.cc |
=================================================================== |
--- runtime/vm/flow_graph_optimizer.cc (revision 31858) |
+++ runtime/vm/flow_graph_optimizer.cc (working copy) |
@@ -375,6 +375,10 @@ |
curr_instr->ReplaceWith(div_mod, current_iterator()); |
other_binop->ReplaceUsesWith(div_mod); |
other_binop->RemoveFromGraph(); |
+ // Only one merge possible. Because canonicalization happens later, |
+ // more candidates are possible. |
+ // TODO(srdjan): Allow merging of trunc-div/mod into truncDivMod. |
+ break; |
} |
} |
} |