1
0
mirror of https://github.com/golang/go synced 2024-11-06 06:36:20 -07:00
go/src/cmd/asm
Josh Bleecher Snyder 3b251e603d cmd/internal/obj: eagerly initialize x86 assembler
Prior to this CL, instinit was called as needed.
This does not work well in a concurrent backend.
Initialization is very cheap; do it on startup instead.

Passes toolstash-check -all.
No compiler performance impact.

Updates #15756

Change-Id: Ifa5e82e8abf4504435e1b28766f5703a0555f42d
Reviewed-on: https://go-review.googlesource.com/38662
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-03-25 23:20:25 +00:00
..
internal cmd/internal/obj: eagerly initialize x86 assembler 2017-03-25 23:20:25 +00:00
doc.go
main.go cmd/internal/obj: convert Debug* Link fields into bools 2017-03-20 22:08:41 +00:00