| 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 import 'dart:math' as math; | 5 import 'dart:math' as math; |
| 6 import '../common.dart'; | 6 import '../common.dart'; |
| 7 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem; | 7 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem; |
| 8 import '../common/tasks.dart' show CompilerTask; | 8 import '../common/tasks.dart' show CompilerTask; |
| 9 import '../compiler.dart' show Compiler; | 9 import '../compiler.dart' show Compiler; |
| 10 import '../constants/constant_system.dart'; | 10 import '../constants/constant_system.dart'; |
| 11 import '../constants/values.dart'; | 11 import '../constants/values.dart'; |
| 12 import '../core_types.dart' show CommonElements; | 12 import '../core_types.dart' show CommonElements; |
| 13 import '../elements/elements.dart' | 13 import '../elements/elements.dart' |
| 14 show | 14 show |
| 15 Entity, | 15 Entity, |
| 16 JumpTarget, | 16 JumpTarget, |
| 17 LabelDefinition, | 17 LabelDefinition, |
| 18 Local, | |
| 19 Name, | 18 Name, |
| 20 AsyncMarker, | 19 AsyncMarker, |
| 21 ResolvedAst, | 20 ResolvedAst, |
| 22 FunctionElement; | 21 FunctionElement; |
| 23 import '../elements/entities.dart'; | 22 import '../elements/entities.dart'; |
| 24 import '../elements/types.dart'; | 23 import '../elements/types.dart'; |
| 25 import '../io/source_information.dart'; | 24 import '../io/source_information.dart'; |
| 26 import '../js/js.dart' as js; | 25 import '../js/js.dart' as js; |
| 27 import '../js_backend/backend_helpers.dart' show BackendHelpers; | 26 import '../js_backend/backend_helpers.dart' show BackendHelpers; |
| 28 import '../js_backend/js_backend.dart'; | 27 import '../js_backend/js_backend.dart'; |
| (...skipping 3087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3116 registry.registerStaticUse(new StaticUse.staticInvoke( | 3115 registry.registerStaticUse(new StaticUse.staticInvoke( |
| 3117 helper, new CallStructure.unnamed(argumentCount))); | 3116 helper, new CallStructure.unnamed(argumentCount))); |
| 3118 return backend.emitter.staticFunctionAccess(helper); | 3117 return backend.emitter.staticFunctionAccess(helper); |
| 3119 } | 3118 } |
| 3120 | 3119 |
| 3121 @override | 3120 @override |
| 3122 void visitRef(HRef node) { | 3121 void visitRef(HRef node) { |
| 3123 visit(node.value); | 3122 visit(node.value); |
| 3124 } | 3123 } |
| 3125 } | 3124 } |
| OLD | NEW |