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

Unified Diff: pkg/compiler/lib/src/native/enqueue.dart

Issue 2696483005: Move global dependencies to BackendUsage (Closed)
Patch Set: Created 3 years, 10 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/native/enqueue.dart
diff --git a/pkg/compiler/lib/src/native/enqueue.dart b/pkg/compiler/lib/src/native/enqueue.dart
index 29d2123caa7dc33ac65ac2a6382dd2b94ade1dca..12bd95bc14b3d5540958deed3bef5004b8d64f1d 100644
--- a/pkg/compiler/lib/src/native/enqueue.dart
+++ b/pkg/compiler/lib/src/native/enqueue.dart
@@ -445,7 +445,7 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer {
void staticUse(element) {
impactBuilder.registerStaticUse(new StaticUse.foreignUse(element));
backend.backendUsage.registerBackendUse(element);
- compiler.globalDependencies.registerDependency(element);
+ backend.backendUsage.registerGlobalDependency(element);
}
staticUse(helpers.defineProperty);
« no previous file with comments | « pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart ('k') | tests/compiler/dart2js/kernel/closed_world_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698