Index: pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
index 0a2be2bd99acc854a6c2d7f9b3d4f4e0928229ca..dc0d85def1d0b32ba7f55dfb0fd7b489dca3b145 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
@@ -2876,7 +2876,7 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
"Can't break to '$name' in a different function.", |
breakKeyword.next.charOffset)); |
} else { |
- BreakStatement statement = new BreakStatement(null) |
+ BreakStatement statement = new KernelBreakStatement(null) |
..fileOffset = breakKeyword.charOffset; |
target.addBreak(statement); |
push(statement); |
@@ -2909,7 +2909,8 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
} |
if (target.isGotoTarget && |
target.functionNestingLevel == functionNestingLevel) { |
- ContinueSwitchStatement statement = new ContinueSwitchStatement(null); |
+ ContinueSwitchStatement statement = |
+ new KernelContinueSwitchStatement(null); |
target.addGoto(statement); |
push(statement); |
return; |
@@ -2926,7 +2927,7 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
"Can't continue at '$name' in a different function.", |
continueKeyword.next.charOffset)); |
} else { |
- BreakStatement statement = new BreakStatement(null) |
+ BreakStatement statement = new KernelBreakStatement(null) |
..fileOffset = continueKeyword.charOffset; |
target.addContinue(statement); |
push(statement); |