-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt: fix memo cycle test in
dbg
builds
In #106944 the `dbg` compilation mode became the default for all non-release builds. This caused stack overflows in the memo cycle detection tests, which excessive invoke recursive functions, likely because stack frames are larger in `dbg` mode than in `opt` mode or because certain optimizations aren't performed in `dbg` mode that reduce stack depth due to recursion, like inlining. This commit fixes the test by lowering the cycle detection limit, making it so that a cycle is detected before a stack overflow occurs. Epic: None Release note: None
- Loading branch information
Showing
2 changed files
with
26 additions
and
20 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