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

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

Issue 2800643002: Register deferred load impact through ResolutionEnqueuerListener (Closed)
Patch Set: Created 3 years, 8 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/compiler.dart ('k') | pkg/compiler/lib/src/js_backend/resolution_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6c5d68efcc4c5ab4312f12670eb7ed9ea4820ff0..409d88ef4c5350412eb5642c4f2a7360e1c2cf97 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -799,12 +799,6 @@ class JavaScriptBackend {
noSuchMethodRegistry.onTypeInferenceComplete(results);
}
- /// Returns the [WorldImpact] of enabling deferred loading.
- WorldImpact computeDeferredLoadingImpact() {
- backendUsageBuilder.processBackendImpact(impacts.deferredLoading);
- return impacts.deferredLoading.createImpact(compiler.elementEnvironment);
- }
-
/// Called when resolving a call to a foreign function.
native.NativeBehavior resolveForeignCall(Send node, Element element,
CallStructure callStructure, ForeignResolver resolver) {
@@ -900,6 +894,7 @@ class JavaScriptBackend {
mirrorsResolutionAnalysis,
typeVariableResolutionAnalysis,
_nativeResolutionEnqueuer,
+ compiler.deferredLoadTask,
kernelTask),
new ElementResolutionWorldBuilder(
this, compiler.resolution, const OpenWorldStrategy()),
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/js_backend/resolution_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698