| 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 '../dart_types.dart'; | 13 import '../elements/resolution_types.dart'; |
| 14 import '../elements/elements.dart'; | 14 import '../elements/elements.dart'; |
| 15 import '../elements/entities.dart'; | 15 import '../elements/entities.dart'; |
| 16 import '../io/source_information.dart'; | 16 import '../io/source_information.dart'; |
| 17 import '../js/js.dart' as js; | 17 import '../js/js.dart' as js; |
| 18 import '../js_backend/backend_helpers.dart' show BackendHelpers; | 18 import '../js_backend/backend_helpers.dart' show BackendHelpers; |
| 19 import '../js_backend/js_backend.dart'; | 19 import '../js_backend/js_backend.dart'; |
| 20 import '../js_emitter/js_emitter.dart' show NativeEmitter; | 20 import '../js_emitter/js_emitter.dart' show NativeEmitter; |
| 21 import '../native/native.dart' as native; | 21 import '../native/native.dart' as native; |
| 22 import '../types/types.dart'; | 22 import '../types/types.dart'; |
| 23 import '../universe/call_structure.dart' show CallStructure; | 23 import '../universe/call_structure.dart' show CallStructure; |
| (...skipping 3074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3098 registry.registerStaticUse(new StaticUse.staticInvoke( | 3098 registry.registerStaticUse(new StaticUse.staticInvoke( |
| 3099 helper, new CallStructure.unnamed(argumentCount))); | 3099 helper, new CallStructure.unnamed(argumentCount))); |
| 3100 return backend.emitter.staticFunctionAccess(helper); | 3100 return backend.emitter.staticFunctionAccess(helper); |
| 3101 } | 3101 } |
| 3102 | 3102 |
| 3103 @override | 3103 @override |
| 3104 void visitRef(HRef node) { | 3104 void visitRef(HRef node) { |
| 3105 visit(node.value); | 3105 visit(node.value); |
| 3106 } | 3106 } |
| 3107 } | 3107 } |
| OLD | NEW |