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

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

Issue 14751009: Re-apply https://codereview.chromium.org/14636002/, but this time avoid creating TypeMask with dyna… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
Index: sdk/lib/_internal/compiler/implementation/universe/universe.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/universe/universe.dart (revision 22306)
+++ sdk/lib/_internal/compiler/implementation/universe/universe.dart (working copy)
@@ -423,8 +423,6 @@
selector.library,
selector.argumentCount,
selector.namedArguments) {
- // Invariant: Typed selector can not be based on a malformed type.
- assert(mask.isEmpty || !identical(mask.base.kind, TypeKind.MALFORMED_TYPE));
assert(asUntyped.mask == null);
}
@@ -437,7 +435,6 @@
TypedSelector.subtype(DartType base, Selector selector)
: this(new TypeMask.subtype(base), selector);
- bool get hasExactMask => mask.isExact;
bool appliesUnnamed(Element element, Compiler compiler) {
assert(sameNameHack(element, compiler));
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/types/types.dart ('k') | sdk/lib/_internal/compiler/implementation/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698