cmd/compile/internal/gc: rename Thearch to thearch

Prepared using gorename.

Change-Id: Id55dac9ae5446a8bfeac06e7995b35f4c249eeca
Reviewed-on: https://go-review.googlesource.com/38302
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
Matthew Dempsky 2017-03-17 13:35:36 -07:00
parent 3e2f980e27
commit 09272ae981
9 changed files with 36 additions and 36 deletions

View file

@ -273,7 +273,7 @@ func (s *ssaExport) AllocFrame(f *ssa.Func) {
dowidth(n.Type)
w := n.Type.Width
if w >= Thearch.MAXWIDTH || w < 0 {
if w >= thearch.MAXWIDTH || w < 0 {
Fatalf("bad width")
}
Stksize += w
@ -281,7 +281,7 @@ func (s *ssaExport) AllocFrame(f *ssa.Func) {
if haspointers(n.Type) {
stkptrsize = Stksize
}
if Thearch.LinkArch.InFamily(sys.MIPS, sys.MIPS64, sys.ARM, sys.ARM64, sys.PPC64, sys.S390X) {
if thearch.LinkArch.InFamily(sys.MIPS, sys.MIPS64, sys.ARM, sys.ARM64, sys.PPC64, sys.S390X) {
Stksize = Rnd(Stksize, int64(Widthptr))
}
if Stksize >= 1<<31 {