-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During the unsafe call transformation, the node that loads from ramStatics shares the same temp with the node that loads from the object. The sym ref for ramStatics is not collected but the sym ref used for object is collected. Therefore, they cannot share the same temp slots. Split the blocks to add a block that calls the atomic helper that loads from ramStatics. The original atomic helper that loads from object is in another block. The return values from both helper calls are saved to the same temp. Fixes: #15251 Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
- Loading branch information
Showing
1 changed file
with
148 additions
and
43 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