| 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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 _closed = true; | 926 _closed = true; |
| 927 // TODO(johnniwinther): Implement this. | 927 // TODO(johnniwinther): Implement this. |
| 928 return _closedWorldCache = new KernelClosedWorld( | 928 return _closedWorldCache = new KernelClosedWorld( |
| 929 commonElements: _commonElements, | 929 commonElements: _commonElements, |
| 930 // TODO(johnniwinther): Compute these. | 930 // TODO(johnniwinther): Compute these. |
| 931 constantSystem: null, | 931 constantSystem: null, |
| 932 nativeData: null, | 932 nativeData: null, |
| 933 interceptorData: null, | 933 interceptorData: null, |
| 934 backendUsage: null, | 934 backendUsage: null, |
| 935 resolutionWorldBuilder: this, | 935 resolutionWorldBuilder: this, |
| 936 functionSetBuilder: _allFunctions, | 936 functionSet: _allFunctions.close(), |
| 937 allTypedefs: _allTypedefs, | 937 allTypedefs: _allTypedefs, |
| 938 mixinUses: _mixinUses, | 938 mixinUses: _mixinUses, |
| 939 typesImplementedBySubclasses: typesImplementedBySubclasses, | 939 typesImplementedBySubclasses: typesImplementedBySubclasses, |
| 940 classHierarchyNodes: _classHierarchyNodes, | 940 classHierarchyNodes: _classHierarchyNodes, |
| 941 classSets: _classSets); | 941 classSets: _classSets); |
| 942 } | 942 } |
| 943 | 943 |
| 944 @override | 944 @override |
| 945 void registerClass(ClassEntity cls) { | 945 void registerClass(ClassEntity cls) { |
| 946 throw new UnimplementedError('KernelResolutionWorldBuilder.registerClass'); | 946 throw new UnimplementedError('KernelResolutionWorldBuilder.registerClass'); |
| 947 } | 947 } |
| 948 } | 948 } |
| OLD | NEW |