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

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

Issue 1405443004: Remove calls to registerDependency from within resolution. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/common/resolution.dart ('k') | pkg/compiler/lib/src/resolution/constructors.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 28c065758faf15ce69943b15d6d4c810d3b5f774..3478e8112172fcb96f6639175ffe6dfedf3df2de 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -2948,15 +2948,6 @@ class JavaScriptResolutionCallbacks extends ResolutionCallbacks {
registerBackendImpact(transformed, impacts.computeSignature);
}
}
- // TODO(johnniwinther): Remove this when dependency tracking is done on
- // the world impact itself.
- for (InterfaceType instantiatedType in worldImpact.instantiatedTypes) {
- transformed.registerInstantiatedType(instantiatedType);
- }
- for (Element element in worldImpact.staticUses) {
- transformed.registerStaticUse(element);
- }
-
return transformed;
}
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/resolution/constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698