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

Unified Diff: pkg/compiler/lib/src/types/type_mask.dart

Issue 1458703007: dart2js cps: Refactor CallExpressions into Primitives. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/types/type_mask.dart
diff --git a/pkg/compiler/lib/src/types/type_mask.dart b/pkg/compiler/lib/src/types/type_mask.dart
index c255b6040d2fabecfe9e5e58cb8abe2226e04f6e..51716fbaaf05c2f37bdee71b19aabcbeb2737702 100644
--- a/pkg/compiler/lib/src/types/type_mask.dart
+++ b/pkg/compiler/lib/src/types/type_mask.dart
@@ -145,9 +145,9 @@ abstract class TypeMask implements ReceiverConstraint {
}
factory TypeMask.nonNullSubclass(ClassElement base, ClassWorld classWorld) {
- assert(invariant(base, classWorld.isInstantiated(base),
- message: () => "Cannot create subclass type mask for uninstantiated "
- "class $base.\n${classWorld.dump(base)}"));
+ // assert(invariant(base, classWorld.isInstantiated(base),
+ // message: () => "Cannot create subclass type mask for uninstantiated "
+ // "class $base.\n${classWorld.dump(base)}"));
sra1 2015/11/19 21:41:46 Remember to undo this :-)
asgerf 2015/11/20 16:23:54 Done.
ClassElement topmost = classWorld.getLubOfInstantiatedSubclasses(base);
if (topmost == null) {
return new TypeMask.nonNullEmpty();

Powered by Google App Engine
This is Rietveld 408576698