| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js.cps_optimizers; | 5 library dart2js.cps_optimizers; |
| 6 | 6 |
| 7 import 'cps_ir_nodes.dart'; | 7 import 'cps_ir_nodes.dart'; |
| 8 | 8 |
| 9 part 'redundant_phi.dart'; | 9 part 'redundant_phi.dart'; |
| 10 part 'shrinking_reductions.dart'; |
| 11 |
| 12 /// An optimization pass over the CPS IR. |
| 13 abstract class Pass { |
| 14 /// Applies optimizations to root, rewriting it in the process. |
| 15 void rewrite(FunctionDefinition root); |
| 16 } |
| OLD | NEW |