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

Unified Diff: pkg/compiler/lib/src/universe/function_set.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
« no previous file with comments | « pkg/compiler/lib/src/types/union_type_mask.dart ('k') | pkg/compiler/lib/src/universe/world_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/universe/function_set.dart
diff --git a/pkg/compiler/lib/src/universe/function_set.dart b/pkg/compiler/lib/src/universe/function_set.dart
index e631e507a50a73587f6774b027257c8a2c6fa93c..b99e1fe028cf3ca73bbb32a95c51ff11e014109e 100644
--- a/pkg/compiler/lib/src/universe/function_set.dart
+++ b/pkg/compiler/lib/src/universe/function_set.dart
@@ -83,7 +83,7 @@ class FunctionSet {
: new SelectorMask(
selector,
new TypeMask.subclass(
- closedWorld.coreClasses.objectClass, closedWorld));
+ closedWorld.commonElements.objectClass, closedWorld));
}
/// Returns the set of functions that can be the target of a call to
@@ -288,8 +288,8 @@ class FullFunctionSetQuery implements FunctionSetQuery {
@override
TypeMask computeMask(ClosedWorld closedWorld) {
- assert(
- closedWorld.hasAnyStrictSubclass(closedWorld.coreClasses.objectClass));
+ assert(closedWorld
+ .hasAnyStrictSubclass(closedWorld.commonElements.objectClass));
if (_mask != null) return _mask;
return _mask = new TypeMask.unionOf(
functions.expand((element) {
« no previous file with comments | « pkg/compiler/lib/src/types/union_type_mask.dart ('k') | pkg/compiler/lib/src/universe/world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698