| Index: pkg/compiler/lib/src/cps_ir/optimizers.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/optimizers.dart b/pkg/compiler/lib/src/cps_ir/optimizers.dart
|
| index 2b248fe9a99a4a564a73715c56a7b54d0d2cb876..8af5154a7242debf5e5999ccb07fbc840ec17471 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/optimizers.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/optimizers.dart
|
| @@ -42,7 +42,7 @@ abstract class Pass {
|
| /// Returns true if [value] is false, null, 0, -0, NaN, or the empty string.
|
| bool isFalsyConstant(ConstantValue value) {
|
| return value.isFalse ||
|
| - value.isNull ||
|
| + value.isNull ||
|
| value.isZero ||
|
| value.isMinusZero ||
|
| value.isNaN ||
|
| @@ -59,6 +59,10 @@ bool isTruthyConstant(ConstantValue value, {bool strict: false}) {
|
|
|
| /// Selectors that do not throw when invoked on the null value.
|
| final List<Selector> selectorsOnNull = <Selector>[
|
| - Selectors.equals, Selectors.hashCode_, Selectors.runtimeType_,
|
| - Selectors.toString_, Selectors.toStringGetter,
|
| - Selectors.noSuchMethodGetter];
|
| + Selectors.equals,
|
| + Selectors.hashCode_,
|
| + Selectors.runtimeType_,
|
| + Selectors.toString_,
|
| + Selectors.toStringGetter,
|
| + Selectors.noSuchMethodGetter
|
| +];
|
|
|