-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip
StmtId
entries in execution graph when not debugging (#1328)
This change is an optimization that configures the lowerer to know when debugging is the intended scenario for the lowered FIR. When not debugging, no `StmtId` nodes are included in the execution graph, which skips the (minimal but non-zero) overhead of checking each statement for possible breakpoints. Only the debugger creates the interpreter and the underlying lowerer with these debug entries enabled, preserving behavior for those scenarios.
- Loading branch information
Showing
2 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters