| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 library dart2js.optimizers; | |
| 6 | |
| 7 import '../constants/expressions.dart' show | |
| 8 ConstantExpression, | |
| 9 PrimitiveConstantExpression; | |
| 10 import '../constants/values.dart'; | |
| 11 import '../dart_types.dart' as types; | |
| 12 import '../dart2jslib.dart' as dart2js; | |
| 13 import '../tree/tree.dart' show LiteralDartString; | |
| 14 import '../util/util.dart'; | |
| 15 import 'cps_ir_nodes.dart'; | |
| 16 | |
| 17 part 'constant_propagation.dart'; | |
| 18 part 'redundant_phi.dart'; | |
| 19 part 'shrinking_reductions.dart'; | |
| 20 | |
| 21 /// An optimization pass over the CPS IR. | |
| 22 abstract class Pass { | |
| 23 /// Applies optimizations to root, rewriting it in the process. | |
| 24 void rewrite(FunctionDefinition root); | |
| 25 } | |
| OLD | NEW |