Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(840)

Side by Side Diff: pkg/compiler/lib/src/cps_ir/optimizers.dart

Issue 1155463005: dart2js cps: Remove dart2dart from cps pipeline and clean up. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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, TypeSystem,
10 UnitTypeSystem, TypeMaskSystem; 10 UnitTypeSystem, TypeMaskSystem;
11 11 export 'redundant_phi.dart' show RedundantPhiEliminator;
12 part 'redundant_phi.dart'; 12 export 'shrinking_reductions.dart' show ShrinkingReducer, ParentVisitor;
13 part 'shrinking_reductions.dart';
14
15 13
16 /// An optimization pass over the CPS IR. 14 /// An optimization pass over the CPS IR.
17 abstract class Pass { 15 abstract class Pass {
18 /// Applies optimizations to root, rewriting it in the process. 16 /// Applies optimizations to root, rewriting it in the process.
19 void rewrite(RootNode root); 17 void rewrite(FunctionDefinition root);
20 18
21 String get passName; 19 String get passName;
22 } 20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698