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

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

Issue 2851163002: Handle symbol literals in closed_world2_test (Closed)
Patch Set: Reinsert test code 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/inferrer/builder.dart ('k') | pkg/compiler/lib/src/js_backend/backend_usage.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 32a2d37ad98b8ae851e90d2cf8e859bd90a51607..4905f0d8acb198731aaddd829c5a3305854d9d9e 100644
--- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
@@ -202,7 +202,7 @@ class BackendImpacts {
return _throwNoSuchMethod ??= new BackendImpact(
instantiatedClasses: _options.useKernel
? [
- _commonElements.symbolClass,
+ _commonElements.symbolImplementationClass,
]
: [],
staticUses: _options.useKernel
@@ -215,7 +215,7 @@ class BackendImpacts {
_commonElements.unresolvedTopLevelMethodError,
_commonElements.unresolvedTopLevelGetterError,
_commonElements.unresolvedTopLevelSetterError,
- _commonElements.symbolConstructor,
+ _commonElements.symbolConstructorTarget,
]
: [
_commonElements.throwNoSuchMethod,
@@ -335,8 +335,8 @@ class BackendImpacts {
BackendImpact get constSymbol {
return _constSymbol ??= new BackendImpact(
- instantiatedClasses: [_commonElements.symbolClass],
- staticUses: [_commonElements.symbolConstructor]);
+ instantiatedClasses: [_commonElements.symbolImplementationClass],
+ staticUses: [_commonElements.symbolConstructorTarget]);
}
/// Helper for registering that `int` is needed.
« no previous file with comments | « pkg/compiler/lib/src/inferrer/builder.dart ('k') | pkg/compiler/lib/src/js_backend/backend_usage.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698