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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/function_set.dart

Issue 24952003: Change TypeMask.base to be a ClassElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moar declaration. Created 7 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: sdk/lib/_internal/compiler/implementation/universe/function_set.dart
diff --git a/sdk/lib/_internal/compiler/implementation/universe/function_set.dart b/sdk/lib/_internal/compiler/implementation/universe/function_set.dart
index bae06cbb19fadc671b1f52c647c94a71a91115cb..d5f8784aeef4bae839c820244573a64315a8e7b0 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/function_set.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/function_set.dart
@@ -146,7 +146,7 @@ class FunctionSetNode {
// to always be a subclass of Object.
return selector.mask != null
? selector.mask
- : new TypeMask.subclass(compiler.objectClass.rawType);
+ : new TypeMask.subclass(compiler.objectClass);
}
FunctionSetQuery query(Selector selector,
@@ -225,8 +225,8 @@ class FullFunctionSetQuery extends FunctionSetQuery {
return const TypeMask.empty();
}
return compiler.world.hasSubclasses(cls)
- ? new TypeMask.nonNullSubclass(cls.rawType)
- : new TypeMask.nonNullExact(cls.rawType);
+ ? new TypeMask.nonNullSubclass(cls)
+ : new TypeMask.nonNullExact(cls);
}),
compiler);
}

Powered by Google App Engine
This is Rietveld 408576698