From: Michael Munday Date: Wed, 19 Apr 2017 19:14:56 +0000 (-0400) Subject: cmd/internal/obj/s390x: delete unused REGZERO constant X-Git-Tag: go1.9beta1~612 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6b0bd51c1c7f34acdc5556d88a52d9a9f3b14da5;p=gostls13.git cmd/internal/obj/s390x: delete unused REGZERO constant When we switched to SSA R0 was made allocatable and no longer holds zero on s390x. Change-Id: I1c752bb02da35462a535492379345fa9f4e12cb0 Reviewed-on: https://go-review.googlesource.com/41079 Reviewed-by: Brad Fitzpatrick Run-TryBot: Michael Munday TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/internal/obj/s390x/a.out.go b/src/cmd/internal/obj/s390x/a.out.go index 98ea5aebcd..9d5b34a0b1 100644 --- a/src/cmd/internal/obj/s390x/a.out.go +++ b/src/cmd/internal/obj/s390x/a.out.go @@ -138,7 +138,6 @@ const ( REG_RESERVED // end of allocated registers - REGZERO = REG_R0 // set to zero REGARG = -1 // -1 disables passing the first argument in register REGRT1 = REG_R3 // used during zeroing of the stack - not reserved REGRT2 = REG_R4 // used during zeroing of the stack - not reserved