| Index: pkg/compiler/lib/src/world.dart
|
| diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
|
| index 41ceb0f41c2491b2e55756c4f2c8cf21e838a382..3de6d0f6c9df6077c1e3dfeb3f7e98dcfc578e53 100644
|
| --- a/pkg/compiler/lib/src/world.dart
|
| +++ b/pkg/compiler/lib/src/world.dart
|
| @@ -8,7 +8,7 @@ import 'cache_strategy.dart';
|
| import 'closure.dart' show SynthesizedCallMethodElementX;
|
| import 'common/backend_api.dart' show BackendClasses;
|
| import 'common.dart';
|
| -import 'core_types.dart' show CoreClasses, CommonElements;
|
| +import 'core_types.dart' show CoreTypes, CoreClasses, CommonElements;
|
| import 'dart_types.dart';
|
| import 'elements/elements.dart'
|
| show
|
| @@ -47,6 +47,8 @@ abstract class ClosedWorld implements World {
|
| /// Access to core classes used in the Dart language.
|
| CoreClasses get coreClasses;
|
|
|
| + CoreTypes get coreTypes;
|
| +
|
| CommonElements get commonElements;
|
|
|
| CommonMasks get commonMasks;
|
| @@ -878,6 +880,8 @@ class WorldImpl implements ClosedWorld, ClosedWorldRefiner, OpenWorld {
|
|
|
| final CommonElements commonElements;
|
|
|
| + final CoreTypes coreTypes;
|
| +
|
| final CacheStrategy cacheStrategy;
|
|
|
| final ResolutionWorldBuilder resolverWorld;
|
| @@ -889,7 +893,7 @@ class WorldImpl implements ClosedWorld, ClosedWorldRefiner, OpenWorld {
|
| }
|
|
|
| WorldImpl(this.resolverWorld, this._backend, this.commonElements,
|
| - CacheStrategy cacheStrategy)
|
| + this.coreTypes, CacheStrategy cacheStrategy)
|
| : this.cacheStrategy = cacheStrategy,
|
| alreadyPopulated = cacheStrategy.newSet() {
|
| _allFunctions = new FunctionSet(this);
|
|
|