| Index: runtime/vm/compiler.cc
|
| ===================================================================
|
| --- runtime/vm/compiler.cc (revision 18843)
|
| +++ runtime/vm/compiler.cc (working copy)
|
| @@ -178,6 +178,12 @@
|
| optimizer.ApplyICData();
|
| DEBUG_ASSERT(flow_graph->VerifyUseLists());
|
|
|
| + // Optimize (a << b) & c patterns. 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();
|
| +
|
| // Inlining (mutates the flow graph)
|
| if (FLAG_use_inlining) {
|
| TimerScope timer(FLAG_compiler_stats,
|
|
|