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

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

Issue 1437373002: dart2js cps: Add CharCodeAt builtin. (Closed) Base URL: https://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..6dab2eace97fac00f60f923a39ff9d552a905caa 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)}"));
ClassElement topmost = classWorld.getLubOfInstantiatedSubclasses(base);
if (topmost == null) {
return new TypeMask.nonNullEmpty();
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | tests/compiler/dart2js/js_backend_cps_ir_codeUnitAt_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698