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

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

Issue 2967933002: Bring js_model/model_test on par with compile_from_dill tests. (Closed)
Patch Set: Created 3 years, 5 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 /// [ResolutionEnqueuerWorldBuilder] based on the [Element] model. 7 /// [ResolutionEnqueuerWorldBuilder] based on the [Element] model.
8 class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase { 8 class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase {
9 /// Used for testing the new more precise computation of instantiated types 9 /// Used for testing the new more precise computation of instantiated types
10 /// and classes. 10 /// and classes.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 populateHierarchyNodes(); 176 populateHierarchyNodes();
177 _closed = true; 177 _closed = true;
178 return _closedWorldCache = new ClosedWorldImpl( 178 return _closedWorldCache = new ClosedWorldImpl(
179 elementEnvironment: _elementEnvironment, 179 elementEnvironment: _elementEnvironment,
180 dartTypes: _dartTypes, 180 dartTypes: _dartTypes,
181 commonElements: _commonElements, 181 commonElements: _commonElements,
182 constantSystem: _constantSystem, 182 constantSystem: _constantSystem,
183 nativeData: _nativeDataBuilder.close(), 183 nativeData: _nativeDataBuilder.close(),
184 interceptorData: _interceptorDataBuilder.close(), 184 interceptorData: _interceptorDataBuilder.close(),
185 backendUsage: _backendUsageBuilder.close(), 185 backendUsage: _backendUsageBuilder.close(),
186 resolutionWorldBuilder: this,
187 implementedClasses: _implementedClasses, 186 implementedClasses: _implementedClasses,
188 liveInstanceMembers: _liveInstanceMembers, 187 liveInstanceMembers: _liveInstanceMembers,
188 assignedInstanceMembers: computeAssignedInstanceMembers(),
189 allTypedefs: _allTypedefs, 189 allTypedefs: _allTypedefs,
190 mixinUses: _mixinUses, 190 mixinUses: _mixinUses,
191 typesImplementedBySubclasses: typesImplementedBySubclasses, 191 typesImplementedBySubclasses: typesImplementedBySubclasses,
192 classHierarchyNodes: _classHierarchyNodes, 192 classHierarchyNodes: _classHierarchyNodes,
193 classSets: _classSets); 193 classSets: _classSets);
194 } 194 }
195 195
196 @override 196 @override
197 void registerMixinUse( 197 void registerMixinUse(
198 MixinApplicationElement mixinApplication, ClassElement mixin) { 198 MixinApplicationElement mixinApplication, ClassElement mixin) {
199 assert(mixin.isDeclaration); 199 assert(mixin.isDeclaration);
200 super.registerMixinUse(mixinApplication, mixin); 200 super.registerMixinUse(mixinApplication, mixin);
201 } 201 }
202 } 202 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698