| 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 d9226e791119327c6ef6cc7a09f432fcda5ebcb9..991cd53b03b4c41716f4fce5356c146925fcff6f 100644
|
| --- a/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| +++ b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| @@ -333,6 +333,7 @@ abstract class ResolutionWorldBuilderBase
|
| final CommonElements _commonElements;
|
|
|
| final NativeBasicData _nativeBasicData;
|
| + final NativeDataBuilder _nativeDataBuilder;
|
|
|
| final SelectorConstraintsStrategy selectorConstraintsStrategy;
|
|
|
| @@ -359,8 +360,12 @@ abstract class ResolutionWorldBuilderBase
|
|
|
| bool get isClosed => _closed;
|
|
|
| - ResolutionWorldBuilderBase(this._elementEnvironment, this._commonElements,
|
| - this._nativeBasicData, this.selectorConstraintsStrategy) {
|
| + ResolutionWorldBuilderBase(
|
| + this._elementEnvironment,
|
| + this._commonElements,
|
| + this._nativeBasicData,
|
| + this._nativeDataBuilder,
|
| + this.selectorConstraintsStrategy) {
|
| _allFunctions = new FunctionSetBuilder();
|
| }
|
|
|
| @@ -915,9 +920,10 @@ abstract class KernelResolutionWorldBuilderBase
|
| ElementEnvironment elementEnvironment,
|
| CommonElements commonElements,
|
| NativeBasicData nativeBasicData,
|
| + NativeDataBuilder nativeDataBuilder,
|
| SelectorConstraintsStrategy selectorConstraintsStrategy)
|
| : super(elementEnvironment, commonElements, nativeBasicData,
|
| - selectorConstraintsStrategy);
|
| + nativeDataBuilder, selectorConstraintsStrategy);
|
|
|
| @override
|
| ClosedWorld closeWorld() {
|
| @@ -929,7 +935,7 @@ abstract class KernelResolutionWorldBuilderBase
|
| commonElements: _commonElements,
|
| // TODO(johnniwinther): Compute these.
|
| constantSystem: null,
|
| - nativeData: null,
|
| + nativeData: _nativeDataBuilder.close(),
|
| interceptorData: null,
|
| backendUsage: null,
|
| resolutionWorldBuilder: this,
|
|
|