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 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 7 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
8 | 8 |
9 import '../common.dart'; | 9 import '../common.dart'; |
10 import '../common/backend_api.dart' | 10 import '../common/backend_api.dart' |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 _customElementsResolutionAnalysis = new CustomElementsResolutionAnalysis( | 850 _customElementsResolutionAnalysis = new CustomElementsResolutionAnalysis( |
851 compiler.resolution, | 851 compiler.resolution, |
852 constantSystem, | 852 constantSystem, |
853 commonElements, | 853 commonElements, |
854 backendClasses, | 854 backendClasses, |
855 helpers, | 855 helpers, |
856 nativeBasicData, | 856 nativeBasicData, |
857 backendUsageBuilder); | 857 backendUsageBuilder); |
858 impactTransformer = new JavaScriptImpactTransformer( | 858 impactTransformer = new JavaScriptImpactTransformer( |
859 compiler.options, | 859 compiler.options, |
860 compiler.resolution, | |
861 compiler.elementEnvironment, | 860 compiler.elementEnvironment, |
862 commonElements, | 861 commonElements, |
863 impacts, | 862 impacts, |
864 nativeBasicData, | 863 nativeBasicData, |
865 _nativeResolutionEnqueuer, | 864 _nativeResolutionEnqueuer, |
866 backendUsageBuilder, | 865 backendUsageBuilder, |
867 mirrorsDataBuilder, | 866 mirrorsDataBuilder, |
868 customElementsResolutionAnalysis, | 867 customElementsResolutionAnalysis, |
869 rtiNeedBuilder); | 868 rtiNeedBuilder); |
870 _interceptorDataBuilder = new InterceptorDataBuilderImpl( | 869 _interceptorDataBuilder = new InterceptorDataBuilderImpl( |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1601 | 1600 |
1602 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) { | 1601 bool canUseAliasedSuperMember(MemberEntity member, Selector selector) { |
1603 return !selector.isGetter; | 1602 return !selector.isGetter; |
1604 } | 1603 } |
1605 | 1604 |
1606 /// Returns `true` if [member] is called from a subclass via `super`. | 1605 /// Returns `true` if [member] is called from a subclass via `super`. |
1607 bool isAliasedSuperMember(MemberEntity member) { | 1606 bool isAliasedSuperMember(MemberEntity member) { |
1608 return _aliasedSuperMembers.contains(member); | 1607 return _aliasedSuperMembers.contains(member); |
1609 } | 1608 } |
1610 } | 1609 } |
OLD | NEW |