| Index: pkg/analyzer2dart/lib/src/cps_generator.dart
|
| diff --git a/pkg/analyzer2dart/lib/src/cps_generator.dart b/pkg/analyzer2dart/lib/src/cps_generator.dart
|
| index a8c7698a88efa3462f72e5910877e925e2173a0b..1b38157c9c446bb8237901cd215d96303046ceb2 100644
|
| --- a/pkg/analyzer2dart/lib/src/cps_generator.dart
|
| +++ b/pkg/analyzer2dart/lib/src/cps_generator.dart
|
| @@ -317,4 +317,11 @@ class CpsGeneratingVisitor extends SemanticVisitor<ir.Node>
|
| buildBody: subbuild(node.body),
|
| buildUpdate: subbuildSequence(node.updaters));
|
| }
|
| +
|
| + @override
|
| + visitWhileStatement(WhileStatement node) {
|
| + // TODO(johnniwinther): Support `while` as a jump target.
|
| + irBuilder.buildWhile(buildCondition: subbuild(node.condition),
|
| + buildBody: subbuild(node.body));
|
| + }
|
| }
|
|
|