diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2017-04-11 06:06:34 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2017-04-11 15:02:28 +0000 |
| commit | 1e6924541802e4a10d8dc8a519b7c116ae213a0c (patch) | |
| tree | 527481b8c99af6a9e41e84e6f83185fc9310b591 /src/database/sql | |
| parent | f95de5c67939629424441ed8364a6bf89bc9b1ef (diff) | |
| download | go-1e6924541802e4a10d8dc8a519b7c116ae213a0c.tar.xz | |
cmd/internal/obj/s390x: make assembler almost concurrency-safe
CL 39922 made the arm assembler concurrency-safe.
This CL does the same, but for s390x.
The approach is similar: introduce ctxtz to hold
function-local state and thread it through
the assembler as necessary.
One race remains after this CL, similar to CL 40252.
That race is conceptually unrelated to this refactoring,
and will be addressed in a separate CL.
Passes toolstash-check -all.
Updates #15756
Change-Id: Iabf17aa242b70c0b078c2e85dae3d93a5e512372
Reviewed-on: https://go-review.googlesource.com/40371
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <munday@ca.ibm.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
