| Index: runtime/vm/compiler.cc
|
| ===================================================================
|
| --- runtime/vm/compiler.cc (revision 30236)
|
| +++ runtime/vm/compiler.cc (working copy)
|
| @@ -336,11 +336,11 @@
|
| optimizer.ApplyICData();
|
| DEBUG_ASSERT(flow_graph->VerifyUseLists());
|
|
|
| - // Optimize (a << b) & c patterns. Must occur before
|
| + // Optimize (a << b) & c patterns, merge truncdiv/mod. Must occur before
|
| // 'SelectRepresentations' which inserts conversion nodes.
|
| // TODO(srdjan): Moved before inlining until environment use list can
|
| // be used to detect when shift-left is outside the scope of bit-and.
|
| - optimizer.TryOptimizeLeftShiftWithBitAndPattern();
|
| + optimizer.TryOptimizePatterns();
|
| DEBUG_ASSERT(flow_graph->VerifyUseLists());
|
|
|
| // Inlining (mutates the flow graph)
|
|
|