mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove gins
The only remaining consumers of gins were ginsnop and arch-independent opcodes like GVARDEF. Rewrite ginsnop to create and populate progs directly. Move arch-independent opcodes to package gc and simplify. Delete some now unused code. There is more. Step one towards eliminating gc.Node.Reg. Change-Id: I7c34cd8a848f6fc3b030705ab8e293838e0b6c20 Reviewed-on: https://go-review.googlesource.com/29220 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
a06e931abe
commit
ad7732a9ac
22 changed files with 62 additions and 973 deletions
|
|
@ -41,7 +41,6 @@ func Main() {
|
|||
|
||||
gc.Thearch.Betypeinit = betypeinit
|
||||
gc.Thearch.Defframe = defframe
|
||||
gc.Thearch.Gins = gins
|
||||
gc.Thearch.Proginfo = proginfo
|
||||
|
||||
gc.Thearch.SSARegToReg = ssaRegToReg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue