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

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

Issue 2359923002: Revert "Move towards using WorldImpact for codegen" (Closed)
Patch Set: Created 4 years, 3 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_impact.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend_impact.dart b/pkg/compiler/lib/src/js_backend/backend_impact.dart
index 5572e2293ba9ec7347110187650abadb4bc23f2e..3ab0227a795e776694fed5d266e48663cb7d470a 100644
--- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
@@ -22,7 +22,7 @@ class BackendImpact {
final List<ClassElement> instantiatedClasses;
final List<BackendImpact> otherImpacts;
- const BackendImpact(
+ BackendImpact(
{this.staticUses: const <Element>[],
this.dynamicUses: const <Selector>[],
this.instantiatedTypes: const <InterfaceType>[],
@@ -598,19 +598,4 @@ class BackendImpacts {
}
return _closure;
}
-
- BackendImpact _interceptorUse;
-
- BackendImpact get interceptorUse {
- if (_interceptorUse == null) {
- _interceptorUse = new BackendImpact(staticUses: [
- helpers.getNativeInterceptorMethod
- ], instantiatedClasses: [
- helpers.jsJavaScriptObjectClass,
- helpers.jsPlainJavaScriptObjectClass,
- helpers.jsJavaScriptFunctionClass
- ]);
- }
- return _interceptorUse;
- }
}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698