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

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

Issue 827763003: Reapply "Allow LetCont to bind multiple continuations." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
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 '../constants/expressions.dart' show 7 import '../constants/expressions.dart' show
8 ConstantExpression, 8 ConstantExpression,
9 PrimitiveConstantExpression; 9 PrimitiveConstantExpression;
10 import '../constants/values.dart'; 10 import '../constants/values.dart';
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 45
46 void rewriteConstructorDefinition(ConstructorDefinition root) { 46 void rewriteConstructorDefinition(ConstructorDefinition root) {
47 if (root.isAbstract) return; 47 if (root.isAbstract) return;
48 rewriteExecutableDefinition(root); 48 rewriteExecutableDefinition(root);
49 } 49 }
50 void rewriteFieldDefinition(FieldDefinition root) { 50 void rewriteFieldDefinition(FieldDefinition root) {
51 if (!root.hasInitializer) return; 51 if (!root.hasInitializer) return;
52 rewriteExecutableDefinition(root); 52 rewriteExecutableDefinition(root);
53 } 53 }
54 } 54 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart ('k') | pkg/compiler/lib/src/cps_ir/redundant_phi.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698