| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 part of world_builder; | 5 part of world_builder; |
| 6 | 6 |
| 7 abstract class ResolutionWorldBuilder implements WorldBuilder, OpenWorld { | 7 abstract class ResolutionWorldBuilder implements WorldBuilder, OpenWorld { |
| 8 /// Set of all local functions in the program. Used by the mirror tracking | 8 /// Set of all local functions in the program. Used by the mirror tracking |
| 9 /// system to find all live closure instances. | 9 /// system to find all live closure instances. |
| 10 Iterable<Local> get localFunctions; | 10 Iterable<Local> get localFunctions; |
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 forEachInstantiatedClass(addSubtypes); | 927 forEachInstantiatedClass(addSubtypes); |
| 928 | 928 |
| 929 _classHierarchyNodes.keys.toList().forEach(_ensureClassSet); | 929 _classHierarchyNodes.keys.toList().forEach(_ensureClassSet); |
| 930 | 930 |
| 931 return typesImplementedBySubclasses; | 931 return typesImplementedBySubclasses; |
| 932 } | 932 } |
| 933 } | 933 } |
| 934 | 934 |
| 935 abstract class KernelResolutionWorldBuilderBase | 935 abstract class KernelResolutionWorldBuilderBase |
| 936 extends ResolutionWorldBuilderBase { | 936 extends ResolutionWorldBuilderBase { |
| 937 KernelToElementMapImpl get elementMap; | 937 KernelToElementMapForImpactImpl get elementMap; |
| 938 | 938 |
| 939 KernelResolutionWorldBuilderBase( | 939 KernelResolutionWorldBuilderBase( |
| 940 ElementEnvironment elementEnvironment, | 940 ElementEnvironment elementEnvironment, |
| 941 DartTypes dartTypes, | 941 DartTypes dartTypes, |
| 942 CommonElements commonElements, | 942 CommonElements commonElements, |
| 943 ConstantSystem constantSystem, | 943 ConstantSystem constantSystem, |
| 944 NativeBasicData nativeBasicData, | 944 NativeBasicData nativeBasicData, |
| 945 NativeDataBuilder nativeDataBuilder, | 945 NativeDataBuilder nativeDataBuilder, |
| 946 InterceptorDataBuilder interceptorDataBuilder, | 946 InterceptorDataBuilder interceptorDataBuilder, |
| 947 BackendUsageBuilder backendUsageBuilder, | 947 BackendUsageBuilder backendUsageBuilder, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 typesImplementedBySubclasses: typesImplementedBySubclasses, | 983 typesImplementedBySubclasses: typesImplementedBySubclasses, |
| 984 classHierarchyNodes: _classHierarchyNodes, | 984 classHierarchyNodes: _classHierarchyNodes, |
| 985 classSets: _classSets); | 985 classSets: _classSets); |
| 986 } | 986 } |
| 987 | 987 |
| 988 @override | 988 @override |
| 989 void registerClass(ClassEntity cls) { | 989 void registerClass(ClassEntity cls) { |
| 990 throw new UnimplementedError('KernelResolutionWorldBuilder.registerClass'); | 990 throw new UnimplementedError('KernelResolutionWorldBuilder.registerClass'); |
| 991 } | 991 } |
| 992 } | 992 } |
| OLD | NEW |