| 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 '../closure.dart' show SynthesizedCallMethodElementX; | |
| 8 import '../common.dart'; | 7 import '../common.dart'; |
| 9 import '../compiler.dart' show Compiler; | 8 import '../compiler.dart' show Compiler; |
| 10 import '../constants/values.dart' show ConstantValue; | 9 import '../constants/values.dart' show ConstantValue; |
| 11 import '../dart_types.dart' show DartType, InterfaceType; | 10 import '../dart_types.dart' show DartType, InterfaceType; |
| 12 import '../elements/elements.dart' | 11 import '../elements/elements.dart' |
| 13 show | 12 show |
| 14 AstElement, | 13 AstElement, |
| 15 ClassElement, | 14 ClassElement, |
| 16 Element, | 15 Element, |
| 17 FunctionElement, | 16 FunctionElement, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 246 |
| 248 WorldImpact run(Compiler compiler, CodegenEnqueuer world) { | 247 WorldImpact run(Compiler compiler, CodegenEnqueuer world) { |
| 249 if (world.isProcessed(element)) return const WorldImpact(); | 248 if (world.isProcessed(element)) return const WorldImpact(); |
| 250 | 249 |
| 251 registry = new CodegenRegistry(compiler, element); | 250 registry = new CodegenRegistry(compiler, element); |
| 252 return compiler.codegen(this, world); | 251 return compiler.codegen(this, world); |
| 253 } | 252 } |
| 254 | 253 |
| 255 String toString() => 'CodegenWorkItem(${resolvedAst.element})'; | 254 String toString() => 'CodegenWorkItem(${resolvedAst.element})'; |
| 256 } | 255 } |
| OLD | NEW |