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

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

Issue 2653203002: Use entities in CommonElements interface. (Closed)
Patch Set: Created 3 years, 11 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/js_backend/backend_helpers.dart ('k') | pkg/compiler/lib/src/js_backend/namer.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_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 f2df00dd4a7ac4ff0ca8280bb87733c254d35e9f..97da9b7e0fd4dfb095388bb09ad194a5f086e8cd 100644
--- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
@@ -176,7 +176,7 @@ class BackendImpacts {
helpers.unresolvedTopLevelMethodError,
helpers.unresolvedTopLevelGetterError,
helpers.unresolvedTopLevelSetterError,
- commonElements.symbolConstructor.declaration,
+ commonElements.symbolConstructor,
]
: [
helpers.throwNoSuchMethod,
@@ -295,7 +295,7 @@ class BackendImpacts {
BackendImpact get constSymbol {
return _constSymbol ??= new BackendImpact(
instantiatedClasses: [commonElements.symbolClass],
- staticUses: [commonElements.symbolConstructor.declaration]);
+ staticUses: [commonElements.symbolConstructor]);
}
/// Helper for registering that `int` is needed.
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_helpers.dart ('k') | pkg/compiler/lib/src/js_backend/namer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698