| 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_ir.optimizers; | 5 library dart2js.cps_ir.optimizers; |
| 6 | 6 |
| 7 import 'cps_ir_nodes.dart'; | 7 import 'cps_ir_nodes.dart'; |
| 8 | 8 |
| 9 export 'type_propagation.dart' show TypePropagator, TypeSystem, | 9 export 'type_propagation.dart' show TypePropagator; |
| 10 UnitTypeSystem, TypeMaskSystem; | |
| 11 export 'redundant_phi.dart' show RedundantPhiEliminator; | 10 export 'redundant_phi.dart' show RedundantPhiEliminator; |
| 12 export 'shrinking_reductions.dart' show ShrinkingReducer, ParentVisitor; | 11 export 'shrinking_reductions.dart' show ShrinkingReducer, ParentVisitor; |
| 13 | 12 |
| 14 /// An optimization pass over the CPS IR. | 13 /// An optimization pass over the CPS IR. |
| 15 abstract class Pass { | 14 abstract class Pass { |
| 16 /// Applies optimizations to root, rewriting it in the process. | 15 /// Applies optimizations to root, rewriting it in the process. |
| 17 void rewrite(FunctionDefinition root); | 16 void rewrite(FunctionDefinition root); |
| 18 | 17 |
| 19 String get passName; | 18 String get passName; |
| 20 } | 19 } |
| OLD | NEW |