| Index: pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| diff --git a/pkg/compiler/lib/src/universe/resolution_world_builder.dart b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| index 6f00df791d3e52167c07825b3aa5964c53536555..1fb5ca910b9c3be4b0d7c8eb97ec4d3f331f53a7 100644
|
| --- a/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| +++ b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| @@ -339,6 +339,7 @@ abstract class ResolutionWorldBuilderBase
|
| final ElementEnvironment _elementEnvironment;
|
|
|
| final CommonElements _commonElements;
|
| + final ConstantSystem _constantSystem;
|
|
|
| final NativeBasicData _nativeBasicData;
|
| final NativeDataBuilder _nativeDataBuilder;
|
| @@ -373,6 +374,7 @@ abstract class ResolutionWorldBuilderBase
|
| ResolutionWorldBuilderBase(
|
| this._elementEnvironment,
|
| this._commonElements,
|
| + this._constantSystem,
|
| this._nativeBasicData,
|
| this._nativeDataBuilder,
|
| this._interceptorDataBuilder,
|
| @@ -930,6 +932,7 @@ abstract class KernelResolutionWorldBuilderBase
|
| KernelResolutionWorldBuilderBase(
|
| ElementEnvironment elementEnvironment,
|
| CommonElements commonElements,
|
| + ConstantSystem constantSystem,
|
| NativeBasicData nativeBasicData,
|
| NativeDataBuilder nativeDataBuilder,
|
| InterceptorDataBuilder interceptorDataBuilder,
|
| @@ -938,6 +941,7 @@ abstract class KernelResolutionWorldBuilderBase
|
| : super(
|
| elementEnvironment,
|
| commonElements,
|
| + constantSystem,
|
| nativeBasicData,
|
| nativeDataBuilder,
|
| interceptorDataBuilder,
|
| @@ -954,8 +958,7 @@ abstract class KernelResolutionWorldBuilderBase
|
| nativeData: _nativeDataBuilder.close(),
|
| interceptorData: _interceptorDataBuilder.close(),
|
| backendUsage: _backendUsageBuilder.close(),
|
| - // TODO(johnniwinther): Compute these.
|
| - constantSystem: null,
|
| + constantSystem: _constantSystem,
|
| resolutionWorldBuilder: this,
|
| functionSet: _allFunctions.close(),
|
| allTypedefs: _allTypedefs,
|
|
|