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()), |