]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.simd] sync: correct the type of runtime_StoreReluintptr
authorCherry Mui <cherryyz@google.com>
Fri, 20 Jun 2025 20:03:01 +0000 (16:03 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 20 Jun 2025 22:33:37 +0000 (15:33 -0700)
runtime_StoreReluintptr linknames to internal/runtime/atomic.StoreReluintptr,
which does not have a result.

Change-Id: I468cce82985f391c221768188a5eaff43cbcd037
Reviewed-on: https://go-review.googlesource.com/c/go/+/683095
TryBot-Bypass: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/sync/pool.go

index 0fa8f8cdaa028ded6f335170cf896599ed797c9b..f9a8405b791736e8fbb2082ffe1ca7abbbb660ee 100644 (file)
@@ -315,4 +315,4 @@ func runtime_procUnpin()
 func runtime_LoadAcquintptr(ptr *uintptr) uintptr
 
 //go:linkname runtime_StoreReluintptr internal/runtime/atomic.StoreReluintptr
-func runtime_StoreReluintptr(ptr *uintptr, val uintptr) uintptr
+func runtime_StoreReluintptr(ptr *uintptr, val uintptr)