| 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 'dart:collection' show Queue; | 6 import 'dart:collection' show Queue; |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem; | 8 import '../common/codegen.dart' show CodegenRegistry, CodegenWorkItem; |
| 9 import '../common/tasks.dart' show CompilerTask; | 9 import '../common/tasks.dart' show CompilerTask; |
| 10 import '../constants/constant_system.dart'; | 10 import '../constants/constant_system.dart'; |
| 11 import '../constants/values.dart'; | 11 import '../constants/values.dart'; |
| 12 import '../common_elements.dart' show CommonElements; | 12 import '../common_elements.dart' show CommonElements; |
| 13 import '../elements/elements.dart' | 13 import '../elements/elements.dart' |
| 14 show AsyncMarker, JumpTarget, LabelDefinition, MethodElement, ResolvedAst; | 14 show AsyncMarker, JumpTarget, LabelDefinition, MethodElement, ResolvedAst; |
| 15 import '../elements/entities.dart'; | 15 import '../elements/entities.dart'; |
| 16 import '../elements/types.dart'; | 16 import '../elements/types.dart'; |
| 17 import '../io/source_information.dart'; | 17 import '../io/source_information.dart'; |
| 18 import '../js/js.dart' as js; | 18 import '../js/js.dart' as js; |
| 19 import '../js_backend/interceptor_data.dart'; | 19 import '../js_backend/interceptor_data.dart'; |
| 20 import '../js_backend/js_backend.dart'; | 20 import '../js_backend/backend.dart'; |
| 21 import '../js_backend/checked_mode_helpers.dart'; |
| 21 import '../js_backend/native_data.dart'; | 22 import '../js_backend/native_data.dart'; |
| 23 import '../js_backend/namer.dart'; |
| 24 import '../js_backend/runtime_types.dart'; |
| 22 import '../js_emitter/code_emitter_task.dart'; | 25 import '../js_emitter/code_emitter_task.dart'; |
| 23 import '../native/native.dart' as native; | 26 import '../native/native.dart' as native; |
| 24 import '../options.dart'; | 27 import '../options.dart'; |
| 25 import '../types/types.dart'; | 28 import '../types/types.dart'; |
| 26 import '../universe/call_structure.dart' show CallStructure; | 29 import '../universe/call_structure.dart' show CallStructure; |
| 27 import '../universe/selector.dart' show Selector; | 30 import '../universe/selector.dart' show Selector; |
| 28 import '../universe/use.dart' show ConstantUse, DynamicUse, StaticUse, TypeUse; | 31 import '../universe/use.dart' show ConstantUse, DynamicUse, StaticUse, TypeUse; |
| 29 import '../util/util.dart'; | 32 import '../util/util.dart'; |
| 30 import '../world.dart' show ClosedWorld; | 33 import '../world.dart' show ClosedWorld; |
| 31 import 'codegen_helpers.dart'; | 34 import 'codegen_helpers.dart'; |
| (...skipping 3004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3036 return _closedWorld.anyStrictSubclassOf(cls, (ClassEntity subclass) { | 3039 return _closedWorld.anyStrictSubclassOf(cls, (ClassEntity subclass) { |
| 3037 return !_rtiSubstitutions.isTrivialSubstitution(subclass, cls); | 3040 return !_rtiSubstitutions.isTrivialSubstitution(subclass, cls); |
| 3038 }); | 3041 }); |
| 3039 } | 3042 } |
| 3040 | 3043 |
| 3041 @override | 3044 @override |
| 3042 void visitRef(HRef node) { | 3045 void visitRef(HRef node) { |
| 3043 visit(node.value); | 3046 visit(node.value); |
| 3044 } | 3047 } |
| 3045 } | 3048 } |
| OLD | NEW |