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

Unified Diff: pkg/compiler/lib/src/universe/element_world_builder.dart

Issue 2871583002: Pass InterceptorData through ResolutionWorldBuilder and access it through ClosedWorld (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/universe/resolution_world_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/universe/element_world_builder.dart
diff --git a/pkg/compiler/lib/src/universe/element_world_builder.dart b/pkg/compiler/lib/src/universe/element_world_builder.dart
index 36a2c8f76b417796bee85454524ee0b224c95143..5f9da1af9afe9a3ce740e4bfd3492e0ca8d68365 100644
--- a/pkg/compiler/lib/src/universe/element_world_builder.dart
+++ b/pkg/compiler/lib/src/universe/element_world_builder.dart
@@ -18,9 +18,15 @@ class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase {
this._resolution,
NativeBasicData nativeBasicData,
NativeDataBuilder nativeDataBuilder,
+ InterceptorDataBuilder interceptorDataBuilder,
SelectorConstraintsStrategy selectorConstraintsStrategy)
- : super(_backend.compiler.elementEnvironment, _resolution.commonElements,
- nativeBasicData, nativeDataBuilder, selectorConstraintsStrategy);
+ : super(
+ _backend.compiler.elementEnvironment,
+ _resolution.commonElements,
+ nativeBasicData,
+ nativeDataBuilder,
+ interceptorDataBuilder,
+ selectorConstraintsStrategy);
bool isImplemented(ClassElement cls) {
return super.isImplemented(cls.declaration);
@@ -167,8 +173,8 @@ class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase {
return _closedWorldCache = new ClosedWorldImpl(
commonElements: _commonElements,
constantSystem: _backend.constantSystem,
- nativeData: _backend.nativeDataBuilder.close(),
- interceptorData: _backend.interceptorData,
+ nativeData: _nativeDataBuilder.close(),
+ interceptorData: _interceptorDataBuilder.close(),
backendUsage: _backend.backendUsage,
resolutionWorldBuilder: this,
functionSet: _allFunctions.close(),
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/universe/resolution_world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698