Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: pkg/compiler/lib/src/resolution/registry.dart

Issue 1397043002: Introduce BackendImpact to separate enqueueing from data. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 dart2js.resolution.registry; 5 library dart2js.resolution.registry;
6 6
7 import '../common/backend_api.dart' show 7 import '../common/backend_api.dart' show
8 Backend, 8 Backend,
9 ForeignResolver; 9 ForeignResolver;
10 import '../common/resolution.dart' show 10 import '../common/resolution.dart' show
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 661
662 void registerInstantiatedType(InterfaceType type) { 662 void registerInstantiatedType(InterfaceType type) {
663 worldImpact.registerInstantiatedType(type); 663 worldImpact.registerInstantiatedType(type);
664 mapping.addRequiredType(type); 664 mapping.addRequiredType(type);
665 } 665 }
666 666
667 void registerAbstractClassInstantiation() { 667 void registerAbstractClassInstantiation() {
668 worldImpact.registerFeature(Feature.ABSTRACT_CLASS_INSTANTIATION); 668 worldImpact.registerFeature(Feature.ABSTRACT_CLASS_INSTANTIATION);
669 } 669 }
670 670
671 void registerNewSymbol() {
672 worldImpact.registerFeature(Feature.NEW_SYMBOL);
673 }
674
675 void registerRequiredType(DartType type, Element enclosingElement) { 671 void registerRequiredType(DartType type, Element enclosingElement) {
676 worldImpact.registerRequiredType(type); 672 worldImpact.registerRequiredType(type);
677 mapping.addRequiredType(type); 673 mapping.addRequiredType(type);
678 } 674 }
679 675
680 void registerStringInterpolation() { 676 void registerStringInterpolation() {
681 worldImpact.registerFeature(Feature.STRING_INTERPOLATION); 677 worldImpact.registerFeature(Feature.STRING_INTERPOLATION);
682 } 678 }
683 679
684 void registerFallThroughError() { 680 void registerFallThroughError() {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 @override 782 @override
787 void registerInstantiatedType(InterfaceType type) { 783 void registerInstantiatedType(InterfaceType type) {
788 registry.registerInstantiatedType(type); 784 registry.registerInstantiatedType(type);
789 } 785 }
790 786
791 @override 787 @override
792 DartType resolveTypeFromString(Node node, String typeName) { 788 DartType resolveTypeFromString(Node node, String typeName) {
793 return visitor.resolveTypeFromString(node, typeName); 789 return visitor.resolveTypeFromString(node, typeName);
794 } 790 }
795 } 791 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698