| Index: sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart (revision 17334)
|
| +++ sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart (working copy)
|
| @@ -706,7 +706,7 @@
|
| Range rightRange = ranges[relational.right];
|
| Range leftRange = ranges[relational.left];
|
|
|
| - if (relational is HEquals || relational is HIdentity) {
|
| + if (relational is HIdentity) {
|
| handleEqualityCheck(relational);
|
| } else if (operation.apply(leftRange, rightRange)) {
|
| relational.block.rewrite(
|
| @@ -829,7 +829,6 @@
|
| var condition = branch.condition;
|
| // TODO(ngeoffray): Handle complex conditions.
|
| if (condition is !HRelational) return info.newUnboundRange();
|
| - if (condition is HEquals) return info.newUnboundRange();
|
| if (condition is HIdentity) return info.newUnboundRange();
|
| HInstruction right = condition.right;
|
| HInstruction left = condition.left;
|
|
|