| 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 '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/backend_api.dart' show Backend; | 8 import '../common/backend_api.dart' show Backend; |
| 9 import '../constants/values.dart' show ConstantValue; | 9 import '../constants/values.dart' show ConstantValue; |
| 10 import '../dart_types.dart' show DartType, InterfaceType; | 10 import '../elements/resolution_types.dart' show DartType, InterfaceType; |
| 11 import '../elements/elements.dart' | 11 import '../elements/elements.dart' |
| 12 show | 12 show |
| 13 AstElement, | 13 AstElement, |
| 14 ClassElement, | 14 ClassElement, |
| 15 Element, | 15 Element, |
| 16 FunctionElement, | 16 FunctionElement, |
| 17 LocalFunctionElement, | 17 LocalFunctionElement, |
| 18 ResolvedAst; | 18 ResolvedAst; |
| 19 import '../enqueue.dart' show Enqueuer; | 19 import '../enqueue.dart' show Enqueuer; |
| 20 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; | 20 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 : this.resolvedAst = resolvedAst, | 238 : this.resolvedAst = resolvedAst, |
| 239 super(resolvedAst.element); | 239 super(resolvedAst.element); |
| 240 | 240 |
| 241 WorldImpact run() { | 241 WorldImpact run() { |
| 242 registry = new CodegenRegistry(element); | 242 registry = new CodegenRegistry(element); |
| 243 return backend.codegen(this); | 243 return backend.codegen(this); |
| 244 } | 244 } |
| 245 | 245 |
| 246 String toString() => 'CodegenWorkItem(${resolvedAst.element})'; | 246 String toString() => 'CodegenWorkItem(${resolvedAst.element})'; |
| 247 } | 247 } |
| OLD | NEW |