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 js_backend.backend; | 5 library js_backend.backend; |
6 | 6 |
7 import '../common.dart'; | 7 import '../common.dart'; |
8 import '../common/backend_api.dart' | 8 import '../common/backend_api.dart' |
9 show ForeignResolver, NativeRegistry, ImpactTransformer; | 9 show ForeignResolver, NativeRegistry, ImpactTransformer; |
10 import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem; | 10 import '../common/codegen.dart' show CodegenImpact, CodegenWorkItem; |
11 import '../common/names.dart' show Uris; | 11 import '../common/names.dart' show Uris; |
12 import '../common/resolution.dart' show Resolution, Target; | 12 import '../common/resolution.dart' show Resolution, Target; |
13 import '../common/tasks.dart' show CompilerTask; | 13 import '../common/tasks.dart' show CompilerTask; |
14 import '../compiler.dart' show Compiler; | 14 import '../compiler.dart' show Compiler; |
15 import '../constants/constant_system.dart'; | 15 import '../constants/constant_system.dart'; |
16 import '../constants/expressions.dart'; | 16 import '../constants/expressions.dart'; |
17 import '../constants/values.dart'; | 17 import '../constants/values.dart'; |
18 import '../common_elements.dart' show CommonElements; | 18 import '../common_elements.dart' show CommonElements, ElementEnvironment; |
19 import '../deferred_load.dart' show DeferredLoadTask; | 19 import '../deferred_load.dart' show DeferredLoadTask; |
20 import '../dump_info.dart' show DumpInfoTask; | 20 import '../dump_info.dart' show DumpInfoTask; |
21 import '../elements/elements.dart'; | 21 import '../elements/elements.dart'; |
22 import '../elements/entities.dart'; | 22 import '../elements/entities.dart'; |
23 import '../elements/resolution_types.dart'; | 23 import '../elements/resolution_types.dart'; |
24 import '../elements/types.dart'; | 24 import '../elements/types.dart'; |
25 import '../enqueue.dart' | 25 import '../enqueue.dart' |
26 show | 26 show |
27 DirectEnqueuerStrategy, | 27 DirectEnqueuerStrategy, |
28 Enqueuer, | 28 Enqueuer, |
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1446 | 1446 |
1447 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) { | 1447 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) { |
1448 return !selector.isGetter; | 1448 return !selector.isGetter; |
1449 } | 1449 } |
1450 | 1450 |
1451 /// Returns `true` if [member] is called from a subclass via `super`. | 1451 /// Returns `true` if [member] is called from a subclass via `super`. |
1452 bool isAliasedSuperMember(MemberEntity member) { | 1452 bool isAliasedSuperMember(MemberEntity member) { |
1453 return _aliasedSuperMembers.contains(member); | 1453 return _aliasedSuperMembers.contains(member); |
1454 } | 1454 } |
1455 } | 1455 } |
OLD | NEW |