Skip to content

Commit 7560298

Browse files
committed
[SILGen] Mark executor precondition check instructions as autogenerated
We don't want the debugger stepping into these.
1 parent 7762cc8 commit 7560298

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/SILGen/SILGenProlog.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,9 @@ void SILGenFunction::emitPreconditionCheckExpectedExecutor(
660660
if (!checkExecutor)
661661
return;
662662

663+
// We don't want the debugger to step into these.
664+
loc.markAutoGenerated();
665+
663666
// Get the executor.
664667
SILValue executor = B.createExtractExecutor(loc, executorOrActor);
665668

0 commit comments

Comments
 (0)