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

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

Issue 2595493002: Merge CoreTypes and CoreClasses into CommonElements. (Closed)
Patch Set: Updated cf. comment Created 4 years 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 cbd3752e8a34d310b532b2ed5d1130b9e310e111..2a3244c03407f2f1246a19ae3fb322809b5e1737 100644
--- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
@@ -579,7 +579,7 @@ class BackendImpacts {
// The backend will use a literal list to initialize the entries
// of the map.
globalClasses: [
- helpers.coreClasses.listClass,
+ helpers.commonElements.listClass,
helpers.mapLiteralClass
]);
}
@@ -673,7 +673,7 @@ class BackendImpacts {
BackendImpact get runtimeTypeSupport {
return _runtimeTypeSupport ??= new BackendImpact(
- globalClasses: [helpers.coreClasses.listClass],
+ globalClasses: [helpers.commonElements.listClass],
globalUses: [helpers.setRuntimeTypeInfo, helpers.getRuntimeTypeInfo],
otherImpacts: [getRuntimeTypeArgument, computeSignature]);
}
@@ -684,7 +684,7 @@ class BackendImpacts {
return _deferredLoading ??=
new BackendImpact(globalUses: [helpers.checkDeferredIsLoaded],
// Also register the types of the arguments passed to this method.
- globalClasses: [helpers.coreClasses.stringClass]);
+ globalClasses: [helpers.commonElements.stringClass]);
}
BackendImpact _noSuchMethodSupport;
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_helpers.dart ('k') | pkg/compiler/lib/src/js_backend/constant_system_javascript.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698