Commit 08feadbd authored by Matthew Dempsky's avatar Matthew Dempsky

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: default avatarDave Cheney <dave@cheney.net>
parent f323a7c6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment