mirror of
https://github.com/golang/go
synced 2024-11-18 14:04:45 -07:00
cmd/compile: remove Arch.REGCTXT
Update #16357. Change-Id: I507676212d7137a62c76de7bfa0ba8dbd68e840f Reviewed-on: https://go-review.googlesource.com/29358 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
parent
f323a7c6d2
commit
08feadbd6e
@ -19,7 +19,6 @@ func Init() {
|
||||
leaptr = x86.ALEAL
|
||||
}
|
||||
gc.Thearch.REGSP = x86.REGSP
|
||||
gc.Thearch.REGCTXT = x86.REGCTXT
|
||||
gc.Thearch.MAXWIDTH = 1 << 50
|
||||
|
||||
gc.Thearch.Defframe = defframe
|
||||
|
@ -13,7 +13,6 @@ import (
|
||||
func Init() {
|
||||
gc.Thearch.LinkArch = &arm.Linkarm
|
||||
gc.Thearch.REGSP = arm.REGSP
|
||||
gc.Thearch.REGCTXT = arm.REGCTXT
|
||||
gc.Thearch.MAXWIDTH = (1 << 32) - 1
|
||||
|
||||
gc.Thearch.Defframe = defframe
|
||||
|
@ -13,7 +13,6 @@ import (
|
||||
func Init() {
|
||||
gc.Thearch.LinkArch = &arm64.Linkarm64
|
||||
gc.Thearch.REGSP = arm64.REGSP
|
||||
gc.Thearch.REGCTXT = arm64.REGCTXT
|
||||
gc.Thearch.MAXWIDTH = 1 << 50
|
||||
|
||||
gc.Thearch.Defframe = defframe
|
||||
|
@ -346,7 +346,6 @@ type Arch struct {
|
||||
LinkArch *obj.LinkArch
|
||||
|
||||
REGSP int
|
||||
REGCTXT int
|
||||
MAXWIDTH int64
|
||||
|
||||
Defframe func(*obj.Prog)
|
||||
|
@ -17,7 +17,6 @@ func Init() {
|
||||
gc.Thearch.LinkArch = &mips.Linkmips64le
|
||||
}
|
||||
gc.Thearch.REGSP = mips.REGSP
|
||||
gc.Thearch.REGCTXT = mips.REGCTXT
|
||||
gc.Thearch.MAXWIDTH = 1 << 50
|
||||
|
||||
gc.Thearch.Defframe = defframe
|
||||
|
@ -16,7 +16,6 @@ func Init() {
|
||||
gc.Thearch.LinkArch = &ppc64.Linkppc64le
|
||||
}
|
||||
gc.Thearch.REGSP = ppc64.REGSP
|
||||
gc.Thearch.REGCTXT = ppc64.REGCTXT
|
||||
gc.Thearch.MAXWIDTH = 1 << 50
|
||||
|
||||
gc.Thearch.Defframe = defframe
|
||||
|
@ -12,7 +12,6 @@ import (
|
||||
func Init() {
|
||||
gc.Thearch.LinkArch = &s390x.Links390x
|
||||
gc.Thearch.REGSP = s390x.REGSP
|
||||
gc.Thearch.REGCTXT = s390x.REGCTXT
|
||||
gc.Thearch.MAXWIDTH = 1 << 50
|
||||
|
||||
gc.Thearch.Defframe = defframe
|
||||
|
@ -15,7 +15,6 @@ import (
|
||||
func Init() {
|
||||
gc.Thearch.LinkArch = &x86.Link386
|
||||
gc.Thearch.REGSP = x86.REGSP
|
||||
gc.Thearch.REGCTXT = x86.REGCTXT
|
||||
switch v := obj.GO386; v {
|
||||
case "387":
|
||||
gc.Thearch.Use387 = true
|
||||
|
Loading…
Reference in New Issue
Block a user