| Index: lib/compiler/implementation/ssa/optimize.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/ssa/optimize.dart (revision 12308)
|
| +++ lib/compiler/implementation/ssa/optimize.dart (working copy)
|
| @@ -580,6 +580,9 @@
|
| || type.element === compiler.objectClass) {
|
| return value;
|
| }
|
| + if (types[value].canBeNull() && node.isBooleanConversionCheck) {
|
| + return node;
|
| + }
|
| HType combinedType = types[value].intersection(types[node]);
|
| return (combinedType == types[value]) ? value : node;
|
| }
|
|
|