Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AllocOpt] Track deleted instructions
It was possible for the instruction contained in first_safepoint to be delted, causing use-after-free problems later. Use a WeakVH rather than a raw Instruction* to null-out the entry when the Instruction gets deleted. In the future we may want to pay closer attention to live ranges to avoid this problem entirely. Fixes #30116 (cherry picked from commit 437d87c)
- Loading branch information