Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/compile: mark block control instruction unsafe in "all unsafe" fu…
…nctions Currently, for runtime functions and nosplit functions, it is considered "all unsafe", meaning that the entire function body is unsafe points. In the past, we didn't mark CALLs in such functions unsafe, which is fixed in CL 230541. We also didn't mark block control instructions (for mostly-empty blocks) unsafe. This CL fixes it. May fix #36110. Change-Id: I3be8fdcef2b294e5367b31eb1c1b5e79966565fa Reviewed-on: https://go-review.googlesource.com/c/go/+/236597 Reviewed-by: Austin Clements <[email protected]> Run-TryBot: Austin Clements <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
- Loading branch information