Chromium Code Reviews| Index: runtime/vm/compiler.cc |
| =================================================================== |
| --- runtime/vm/compiler.cc (revision 18774) |
| +++ 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): Move de before inlinining until environmenr use list can |
|
Vyacheslav Egorov (Google)
2013/02/21 14:45:50
"Moved", "environment" .
I find it very fragile.
srdjan
2013/02/21 21:55:31
Fixed spelling. As discussed, added a flag (trunc
|
| + // 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, |