mirror of
https://github.com/golang/go
synced 2024-11-12 09:50:21 -07:00
cmd/compile: add AVARLIVE to peep for arm, arm64, mips64, ppc64
Fixes build on those systems. Also fix printing of AVARLIVE. Change-Id: I1b38cca0125689bc08e4e1bdd0d0c140b1ea079a Reviewed-on: https://go-review.googlesource.com/18641 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
ed03dab853
commit
5f23bc8903
@ -1366,6 +1366,7 @@ func copyu(p *obj.Prog, v *obj.Addr, s *obj.Addr) int {
|
||||
obj.AFUNCDATA,
|
||||
obj.AVARDEF,
|
||||
obj.AVARKILL,
|
||||
obj.AVARLIVE,
|
||||
obj.AUSEFIELD:
|
||||
return 0
|
||||
}
|
||||
|
@ -711,6 +711,7 @@ func copyu(p *obj.Prog, v *obj.Addr, s *obj.Addr) int {
|
||||
obj.AFUNCDATA,
|
||||
obj.AVARDEF,
|
||||
obj.AVARKILL,
|
||||
obj.AVARLIVE,
|
||||
obj.AUSEFIELD:
|
||||
return 0
|
||||
}
|
||||
|
@ -688,6 +688,7 @@ func copyu(p *obj.Prog, v *obj.Addr, s *obj.Addr) int {
|
||||
obj.AFUNCDATA,
|
||||
obj.AVARDEF,
|
||||
obj.AVARKILL,
|
||||
obj.AVARLIVE,
|
||||
obj.AUSEFIELD:
|
||||
return 0
|
||||
}
|
||||
|
@ -953,6 +953,7 @@ func copyu(p *obj.Prog, v *obj.Addr, s *obj.Addr) int {
|
||||
obj.AFUNCDATA,
|
||||
obj.AVARDEF,
|
||||
obj.AVARKILL,
|
||||
obj.AVARLIVE,
|
||||
obj.AUSEFIELD:
|
||||
return 0
|
||||
}
|
||||
|
@ -639,8 +639,8 @@ var Anames = []string{
|
||||
"UNDEF",
|
||||
"USEFIELD",
|
||||
"VARDEF",
|
||||
"VARLIVE",
|
||||
"VARKILL",
|
||||
"VARLIVE",
|
||||
}
|
||||
|
||||
func Bool2int(b bool) int {
|
||||
|
Loading…
Reference in New Issue
Block a user