Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
| =================================================================== |
| --- sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 14614) |
| +++ sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy) |
| @@ -2927,7 +2927,7 @@ |
| HBasicBlock get end { |
| if (updates != null) return updates.end; |
| - if (kind == DO_WHILE_LOOP) { |
| + if (kind == DO_WHILE_LOOP && condition != null) { |
| return condition.end; |
| } |
| return body.end; |