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

Side by Side Diff: pkg/compiler/lib/src/world.dart

Issue 2625713002: Rename Enqueuer.universe to worldBuilder. (Closed)
Patch Set: Updated cf. comments Created 3 years, 11 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.world; 5 library dart2js.world;
6 6
7 import 'closure.dart' show ClosureClassElement, SynthesizedCallMethodElementX; 7 import 'closure.dart' show ClosureClassElement, SynthesizedCallMethodElementX;
8 import 'common/backend_api.dart' show BackendClasses; 8 import 'common/backend_api.dart' show BackendClasses;
9 import 'common.dart'; 9 import 'common.dart';
10 import 'constants/constant_system.dart'; 10 import 'constants/constant_system.dart';
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 417
418 final CommonElements commonElements; 418 final CommonElements commonElements;
419 419
420 final ResolutionWorldBuilder _resolverWorld; 420 final ResolutionWorldBuilder _resolverWorld;
421 421
422 bool get isClosed => true; 422 bool get isClosed => true;
423 423
424 ClosedWorldImpl( 424 ClosedWorldImpl(
425 {JavaScriptBackend backend, 425 {JavaScriptBackend backend,
426 this.commonElements, 426 this.commonElements,
427 ResolutionWorldBuilder resolverWorld, 427 ResolutionWorldBuilder resolutionWorldBuilder,
428 FunctionSetBuilder functionSetBuilder, 428 FunctionSetBuilder functionSetBuilder,
429 Iterable<TypedefElement> allTypedefs, 429 Iterable<TypedefElement> allTypedefs,
430 Map<ClassElement, Set<MixinApplicationElement>> mixinUses, 430 Map<ClassElement, Set<MixinApplicationElement>> mixinUses,
431 Map<ClassElement, Set<ClassElement>> typesImplementedBySubclasses, 431 Map<ClassElement, Set<ClassElement>> typesImplementedBySubclasses,
432 Map<ClassElement, ClassHierarchyNode> classHierarchyNodes, 432 Map<ClassElement, ClassHierarchyNode> classHierarchyNodes,
433 Map<ClassElement, ClassSet> classSets}) 433 Map<ClassElement, ClassSet> classSets})
434 : this._backend = backend, 434 : this._backend = backend,
435 this._resolverWorld = resolverWorld, 435 this._resolverWorld = resolutionWorldBuilder,
436 this._allTypedefs = allTypedefs, 436 this._allTypedefs = allTypedefs,
437 this._mixinUses = mixinUses, 437 this._mixinUses = mixinUses,
438 this._typesImplementedBySubclasses = typesImplementedBySubclasses, 438 this._typesImplementedBySubclasses = typesImplementedBySubclasses,
439 this._classHierarchyNodes = classHierarchyNodes, 439 this._classHierarchyNodes = classHierarchyNodes,
440 this._classSets = classSets { 440 this._classSets = classSets {
441 _commonMasks = new CommonMasks(this); 441 _commonMasks = new CommonMasks(this);
442 _allFunctions = functionSetBuilder.close(this); 442 _allFunctions = functionSetBuilder.close(this);
443 } 443 }
444 444
445 @override 445 @override
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 return getMightBePassedToApply(element.expression); 1184 return getMightBePassedToApply(element.expression);
1185 } 1185 }
1186 return functionsThatMightBePassedToApply.contains(element); 1186 return functionsThatMightBePassedToApply.contains(element);
1187 } 1187 }
1188 1188
1189 @override 1189 @override
1190 bool getCurrentlyKnownMightBePassedToApply(Element element) { 1190 bool getCurrentlyKnownMightBePassedToApply(Element element) {
1191 return getMightBePassedToApply(element); 1191 return getMightBePassedToApply(element);
1192 } 1192 }
1193 } 1193 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/world_builder.dart ('k') | pkg/dart2js_incremental/lib/caching_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698