Index: pkg/compiler/lib/src/constants/constant_system.dart |
diff --git a/pkg/compiler/lib/src/constants/constant_system.dart b/pkg/compiler/lib/src/constants/constant_system.dart |
index d99d795946700c3b8580fba918d6880352f36823..06c9fad9740a89c13f0933538433c79963332c8c 100644 |
--- a/pkg/compiler/lib/src/constants/constant_system.dart |
+++ b/pkg/compiler/lib/src/constants/constant_system.dart |
@@ -43,6 +43,7 @@ abstract class ConstantSystem { |
BinaryOperation get greaterEqual; |
BinaryOperation get greater; |
BinaryOperation get identity; |
+ BinaryOperation get ifNull; |
BinaryOperation get lessEqual; |
BinaryOperation get less; |
BinaryOperation get modulo; |
@@ -118,6 +119,7 @@ abstract class ConstantSystem { |
case BinaryOperatorKind.GT: return greater; |
case BinaryOperatorKind.GTEQ: return greaterEqual; |
case BinaryOperatorKind.EQ: return equal; |
+ case BinaryOperatorKind.IF_NULL: return ifNull; |
default: return null; |
} |
} |