]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/atomic: use //go:noinline to prevent inlining, not assembly nop
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 11 Jan 2016 22:40:17 +0000 (11:40 +1300)
committerRuss Cox <rsc@golang.org>
Wed, 13 Jan 2016 01:51:48 +0000 (01:51 +0000)
commit040932869ed8c9549e18f7b3ca2ea844b0e28978
tree49781e27a55afe8d9fb6b2e082fecaa6724209b1
parentfac8202c3ffdddf5d2b35a2c3620c1eb56018b9b
runtime/internal/atomic: use //go:noinline to prevent inlining, not assembly nop

A bit cleanuppy for 1.6 maybe, but something I happened to notice.

Change-Id: I70f3b48445f4f527d67f7b202b6171195440b09f
Reviewed-on: https://go-review.googlesource.com/18550
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/internal/atomic/atomic_386.go
src/runtime/internal/atomic/atomic_amd64x.go
src/runtime/internal/atomic/stubs.go