Skip to content

Commit d57a8f7

Browse files
creliercommit-bot@chromium.org
authored andcommitted
[vm/bytecode] Remove DebugCheck in synthetic non-local transfer (no source pos).
This fixes the following test: service/async_star_step_out_test Change-Id: I5def5fd277dcc4d32838c6ddb225441ece45e71f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114751 Commit-Queue: Régis Crelier <[email protected]> Reviewed-by: Régis Crelier <[email protected]> Reviewed-by: Alexander Markov <[email protected]>
1 parent b565c8c commit d57a8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/vm/lib/bytecode/gen_bytecode.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2417,7 +2417,7 @@ class BytecodeGenerator extends RecursiveVisitor<Null> {
24172417
/// the last finally block.
24182418
void _generateNonLocalControlTransfer(
24192419
TreeNode from, TreeNode to, GenerateContinuation continuation) {
2420-
if (options.emitDebuggerStops) {
2420+
if (options.emitDebuggerStops && from.fileOffset != TreeNode.noOffset) {
24212421
asm.emitDebugCheck(); // Before context is unwound.
24222422
}
24232423
List<TryFinally> tryFinallyBlocks = _getEnclosingTryFinallyBlocks(from, to);

0 commit comments

Comments
 (0)