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

Side by Side Diff: pkg/compiler/lib/src/common/codegen.dart

Issue 2897273002: Add FunctionEntity.asyncMarker and refactor SourceInformationStrategy to avoid ResolvedAst (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/backend_strategy.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.common.codegen; 5 library dart2js.common.codegen;
6 6
7 import '../elements/elements.dart' 7 import '../elements/elements.dart' show ClassElement, LocalFunctionElement;
8 show AsyncMarker, ClassElement, LocalFunctionElement;
9 import '../elements/entities.dart'; 8 import '../elements/entities.dart';
10 import '../elements/types.dart' show DartType, InterfaceType; 9 import '../elements/types.dart' show DartType, InterfaceType;
11 import '../universe/use.dart' show ConstantUse, DynamicUse, StaticUse, TypeUse; 10 import '../universe/use.dart' show ConstantUse, DynamicUse, StaticUse, TypeUse;
12 import '../universe/world_impact.dart' 11 import '../universe/world_impact.dart'
13 show WorldImpact, WorldImpactBuilderImpl, WorldImpactVisitor; 12 show WorldImpact, WorldImpactBuilderImpl, WorldImpactVisitor;
14 import '../util/enumset.dart'; 13 import '../util/enumset.dart';
15 import '../util/util.dart' show Pair, Setlet; 14 import '../util/util.dart' show Pair, Setlet;
16 import 'work.dart' show WorkItem; 15 import 'work.dart' show WorkItem;
17 16
18 class CodegenImpact extends WorldImpact { 17 class CodegenImpact extends WorldImpact {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 167
169 void registerAsyncMarker(AsyncMarker asyncMarker) { 168 void registerAsyncMarker(AsyncMarker asyncMarker) {
170 worldImpact.registerAsyncMarker(asyncMarker); 169 worldImpact.registerAsyncMarker(asyncMarker);
171 } 170 }
172 } 171 }
173 172
174 /// [WorkItem] used exclusively by the [CodegenEnqueuer]. 173 /// [WorkItem] used exclusively by the [CodegenEnqueuer].
175 abstract class CodegenWorkItem extends WorkItem { 174 abstract class CodegenWorkItem extends WorkItem {
176 CodegenRegistry get registry; 175 CodegenRegistry get registry;
177 } 176 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/backend_strategy.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698