Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comp units using obsolete pointers to their filename
CompUnits are allocated directly in gen2 while the filename that ends up in cu->body.filename usually starts out in the nursery. So in every place we set that filename property we need a write barrier. Otherwise the reference won't get updated when the filename will be moved by the GC.
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 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