mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: use a uint8-sized named type for Addr.Type
No immediate reduction in the size of Addr. Passes toolstash -cmp. Change-Id: I78ea4c6e181b6e571ce70a5f1ae8158844eb197d Reviewed-on: https://go-review.googlesource.com/20276 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
8f5fb95db6
commit
786a2ef380
15 changed files with 39 additions and 42 deletions
|
|
@ -383,7 +383,7 @@ func Dconv(p *Prog, a *Addr) string {
|
|||
}
|
||||
|
||||
str = Rconv(int(a.Reg))
|
||||
if a.Name != TYPE_NONE || a.Sym != nil {
|
||||
if a.Name != NAME_NONE || a.Sym != nil {
|
||||
str = fmt.Sprintf("%v(%v)(REG)", Mconv(a), Rconv(int(a.Reg)))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue