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

Side by Side Diff: pkg/compiler/lib/src/universe/resolution_world_builder.dart

Issue 2860733002: Remove ClosedWorld.allFunctions (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698