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

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

Issue 2875313002: Access BackendUsage 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
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 5f9da1af9afe9a3ce740e4bfd3492e0ca8d68365..e6e6a61dadd49ae4e60cbea0ce739aae4787984a 100644
--- a/pkg/compiler/lib/src/universe/element_world_builder.dart
+++ b/pkg/compiler/lib/src/universe/element_world_builder.dart
@@ -19,6 +19,7 @@ class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase {
NativeBasicData nativeBasicData,
NativeDataBuilder nativeDataBuilder,
InterceptorDataBuilder interceptorDataBuilder,
+ BackendUsageBuilder backendUsageBuilder,
SelectorConstraintsStrategy selectorConstraintsStrategy)
: super(
_backend.compiler.elementEnvironment,
@@ -26,6 +27,7 @@ class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase {
nativeBasicData,
nativeDataBuilder,
interceptorDataBuilder,
+ backendUsageBuilder,
selectorConstraintsStrategy);
bool isImplemented(ClassElement cls) {
@@ -175,7 +177,7 @@ class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase {
constantSystem: _backend.constantSystem,
nativeData: _nativeDataBuilder.close(),
interceptorData: _interceptorDataBuilder.close(),
- backendUsage: _backend.backendUsage,
+ backendUsage: _backendUsageBuilder.close(),
resolutionWorldBuilder: this,
functionSet: _allFunctions.close(),
allTypedefs: _allTypedefs,
« no previous file with comments | « pkg/compiler/lib/src/ssa/graph_builder.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