| 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 import '../../constants/values.dart' as values; | 4 import '../../constants/values.dart' as values; |
| 5 import 'variable_merger.dart'; | 5 import 'variable_merger.dart'; |
| 6 | 6 |
| 7 export 'variable_merger.dart' show VariableMerger; | 7 export 'variable_merger.dart' show VariableMerger; |
| 8 export 'pull_into_initializers.dart' show PullIntoInitializers; |
| 8 | 9 |
| 9 part 'logical_rewriter.dart'; | 10 part 'logical_rewriter.dart'; |
| 10 part 'loop_rewriter.dart'; | 11 part 'loop_rewriter.dart'; |
| 11 part 'statement_rewriter.dart'; | 12 part 'statement_rewriter.dart'; |
| 12 | 13 |
| 13 /// An optimization pass over the Tree IR. | 14 /// An optimization pass over the Tree IR. |
| 14 abstract class Pass { | 15 abstract class Pass { |
| 15 /// Applies optimizations to root, rewriting it in the process. | 16 /// Applies optimizations to root, rewriting it in the process. |
| 16 void rewrite(RootNode root); | 17 void rewrite(RootNode root); |
| 17 | 18 |
| 18 String get passName; | 19 String get passName; |
| 19 } | 20 } |
| OLD | NEW |