-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable multiple nested "no GC" region requests (#68105)
When doing fast tail call on arm32, we disable GC reporting. But some IR nodes, like unrolled STORE_BLK, also disable GC reporting. If one of those is within a fast tail call argument setup region, we'll attempt to disable GC reporting twice. Since we didn't keep track of nesting, we end up marking some of the tail call region after the STORE_BLK as interruptible, leading to be GC info in the argument area. Change the enable/disable GC calls to keep a nesting count, and only re-enable GC reporting when the count reaches zero. Fixes #67046
- Loading branch information
1 parent
2ab78dd
commit 54e82d3
Showing
2 changed files
with
79 additions
and
44 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