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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 1149303006: Let Backend determine support for deferred loading. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index b99336b3ed02917d0033061c2276b4c0819cfcaf..2b10c540f799f430f2fcbd9f5238c04422795a18 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -2669,6 +2669,12 @@ class JavaScriptBackend extends Backend {
enqueue(enqueuer, getStreamIteratorConstructor(), registry);
}
}
+
+ @override
+ bool registerDeferredLoading(Spannable node, Registry registry) {
+ registerCheckDeferredIsLoaded(registry);
+ return true;
+ }
}
/// Handling of special annotations for tests.

Powered by Google App Engine
This is Rietveld 408576698