]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: make ctxt.Cursym local
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 26 Mar 2017 14:46:30 +0000 (07:46 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sun, 26 Mar 2017 19:47:47 +0000 (19:47 +0000)
commit166160b44664e75ffc6e51cd795956fd586196e4
tree0a89833f20773002e14a0608bc10db0678090696
parentc06679f7b5101781d6b8e36cf884568243b539ce
cmd/internal/obj/x86: make ctxt.Cursym local

Thread it through as an argument instead of using a global.

Passes toolstash-check -all.

Updates #15756

Change-Id: Ia8c6ce09b43dbb2e6c7d889ded8dbaeb5366048d
Reviewed-on: https://go-review.googlesource.com/38667
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/x86/asm6.go
src/cmd/internal/obj/x86/obj6.go