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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/types.dart

Issue 16944004: Change how we deal with manual inlining of argument error and NSM when propagating types. This chan… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/ssa/types.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/types.dart (revision 24017)
+++ sdk/lib/_internal/compiler/implementation/ssa/types.dart (working copy)
@@ -260,6 +260,10 @@
}
HType simplify(Compiler compiler) => this;
+
+ HType nonNullable(compiler) {
+ return new HType.fromMask(computeMask(compiler).nonNullable(), compiler);
+ }
}
/** Used to represent [HType.UNKNOWN] and [HType.CONFLICTING]. */

Powered by Google App Engine
This is Rietveld 408576698