1
0
mirror of https://github.com/golang/go synced 2024-11-23 22:40:04 -07:00
go/src
Josh Bleecher Snyder dcf643f1fd cmd/internal/obj/arm: make assembler concurrency-safe
Move global state from obj.Link
to a new function-local state struct arm.ctxt5.

This ends up being cleaner than threading
all the state through as parameters; there's a lot of it.
While we're here, move newprog from a parameter to ctxt5.

We reserve the variable name c for ctxt5,
so a few local variables named c have been renamed.

Instead of lazily initializing deferreturn
and Sym_div and friends, initialize them up front.

Passes toolstash-check -all.

Updates #15756

Change-Id: Ifb4e4b9879e4e1f25e6168d8b7b2a25a3390dc11
Reviewed-on: https://go-review.googlesource.com/39922
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2017-04-10 16:18:50 +00:00
..
archive
bufio
builtin
bytes strings: optimize Count for amd64 2017-04-07 14:25:13 +00:00
cmd cmd/internal/obj/arm: make assembler concurrency-safe 2017-04-10 16:18:50 +00:00
compress
container
context all: fix minor misspellings 2017-04-03 23:19:07 +00:00
crypto
database/sql database/sql: support scanning into user defined string types 2017-03-31 05:02:02 +00:00
debug debug/pe: add TestBuildingWindowsGUI 2017-03-30 01:19:57 +00:00
encoding encoding/pem: yet another fuzz fake failure 2017-04-03 18:46:56 +00:00
errors
expvar
flag
fmt
go all: fix minor misspellings 2017-04-03 23:19:07 +00:00
hash all: fix minor misspellings 2017-04-03 23:19:07 +00:00
html html/template: panic if predefined escapers are found in pipelines during rewriting 2017-04-10 15:08:47 +00:00
image
index/suffixarray
internal cmd/link: skip TestDWARF when cgo is disabled 2017-03-30 22:32:33 +00:00
io
log
math all: fix minor misspellings 2017-04-03 23:19:07 +00:00
mime mime: fix panic parsing 'encoded-word' 2017-04-09 19:03:00 +00:00
net net: fix typo in ParseCIDR doc 2017-04-08 11:53:13 +00:00
os os: handle relative symlinks correctly in Stat on windows 2017-04-10 05:13:18 +00:00
path path/filepath: add test to walk symlink 2017-04-05 02:31:45 +00:00
plugin
reflect reflect: add MakeMapWithSize for creating maps with size hint 2017-04-04 20:01:43 +00:00
regexp regexp: document that Longest method is not concurrent-safe 2017-04-07 21:12:11 +00:00
runtime testing: consider a test failed after race errors 2017-04-10 14:36:02 +00:00
sort
strconv
strings strings: optimize Count for amd64 2017-04-07 14:25:13 +00:00
sync
syscall syscall: mark WSAECONNABORTED, WSAECONNRESET as temporary network errors 2017-04-07 04:46:42 +00:00
testing testing: consider a test failed after race errors 2017-04-10 14:36:02 +00:00
text text/template: fix handling of empty blocks 2017-04-04 15:46:02 +00:00
time testing/quick: generate all possible int64, uint64 values 2017-04-03 14:01:25 +00:00
unicode
unsafe
vendor/golang_org/x net/http: import updated idna package and adjust request.go 2017-03-24 13:30:17 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc