| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |