Index: lib/compiler/implementation/ssa/nodes.dart |
=================================================================== |
--- lib/compiler/implementation/ssa/nodes.dart (revision 8244) |
+++ lib/compiler/implementation/ssa/nodes.dart (working copy) |
@@ -926,6 +926,8 @@ |
bool isConstantString() => false; |
bool isConstantList() => false; |
bool isConstantMap() => false; |
+ bool isConstantFalse() => false; |
+ bool isConstantTrue() => false; |
bool isValid() { |
HValidator validator = new HValidator(); |
@@ -1741,6 +1743,8 @@ |
bool isConstantString() => constant.isString(); |
bool isConstantList() => constant.isList(); |
bool isConstantMap() => constant.isMap(); |
+ bool isConstantFalse() => constant.isFalse(); |
+ bool isConstantTrue() => constant.isTrue(); |
// Maybe avoid this if the literal is big? |
bool isCodeMotionInvariant() => true; |