| OLD | NEW |
| 1 library tree_ir.optimization; | 1 library tree_ir.optimization; |
| 2 | 2 |
| 3 import '../tree_ir_nodes.dart'; | 3 import '../tree_ir_nodes.dart'; |
| 4 | 4 |
| 5 export 'logical_rewriter.dart' show LogicalRewriter; |
| 6 export 'loop_rewriter.dart' show LoopRewriter; |
| 7 export 'pull_into_initializers.dart' show PullIntoInitializers; |
| 5 export 'statement_rewriter.dart' show StatementRewriter; | 8 export 'statement_rewriter.dart' show StatementRewriter; |
| 6 export 'variable_merger.dart' show VariableMerger; | 9 export 'variable_merger.dart' show VariableMerger; |
| 7 export 'loop_rewriter.dart' show LoopRewriter; | |
| 8 export 'logical_rewriter.dart' show LogicalRewriter; | |
| 9 export 'pull_into_initializers.dart' show PullIntoInitializers; | |
| 10 | 10 |
| 11 /// An optimization pass over the Tree IR. | 11 /// An optimization pass over the Tree IR. |
| 12 abstract class Pass { | 12 abstract class Pass { |
| 13 /// Applies optimizations to root, rewriting it in the process. | 13 /// Applies optimizations to root, rewriting it in the process. |
| 14 void rewrite(FunctionDefinition root); | 14 void rewrite(FunctionDefinition root); |
| 15 | 15 |
| 16 String get passName; | 16 String get passName; |
| 17 } | 17 } |
| OLD | NEW |