]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/atomic: fix uintptr usage in arm And8/Or8
authorMauri de Souza Meneguzzo <mauri870@gmail.com>
Thu, 31 Oct 2024 10:48:14 +0000 (10:48 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 31 Oct 2024 16:57:53 +0000 (16:57 +0000)
commit5dbb0a5c6b58f565feb5ac85e42f139343a9eafa
tree6c98203ba9d4bff3bdfbfdfeba1782ed8cd302a6
parent6d39245514c675cdea5c7fd7f778e97bf0728dd5
internal/runtime/atomic: fix uintptr usage in arm And8/Or8

In CL 622075, I introduced code that violated unsafe.Pointer rules
by casting to uintptr and back across statements. This change corrects it.

Change-Id: Ib6f6c08d9ce33aaeaf41f390c7e9f13a7b8cb974
GitHub-Last-Rev: 01cc68a87c8c0ad068c71a911013421f28a8b4ef
GitHub-Pull-Request: golang/go#70129
Cq-Include-Trybots: luci.golang.try:gotip-linux-arm
Reviewed-on: https://go-review.googlesource.com/c/go/+/623755
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/internal/runtime/atomic/atomic_arm.go