aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/ppc64/asm9.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/internal/obj/ppc64/asm9.go')
-rw-r--r--src/cmd/internal/obj/ppc64/asm9.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd/internal/obj/ppc64/asm9.go b/src/cmd/internal/obj/ppc64/asm9.go
index 9524f66ca4..4003e4af1e 100644
--- a/src/cmd/internal/obj/ppc64/asm9.go
+++ b/src/cmd/internal/obj/ppc64/asm9.go
@@ -892,9 +892,6 @@ func (c *ctxt9) aclassreg(reg int16) int {
case REG_LR:
return C_LR
- case REG_XER:
- return C_XER
-
case REG_CTR:
return C_CTR
}
@@ -1153,7 +1150,7 @@ func cmp(a int, b int) bool {
switch a {
case C_SPR:
- if b == C_LR || b == C_XER || b == C_CTR {
+ if b == C_LR || b == C_CTR {
return true
}