Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (revision 15052) |
+++ sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (working copy) |
@@ -984,6 +984,7 @@ |
updateBody.statements.add(new js.Continue(null)); |
body.statements.add( |
new js.If(jsCondition, updateBody, new js.Break(null))); |
+ jsCondition = newLiteralBool(true); |
} |
loop = new js.Do(unwrapStatement(body), jsCondition); |
currentContainer = oldContainer; |