]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/s390x: delete unused REGZERO constant
authorMichael Munday <munday@ca.ibm.com>
Wed, 19 Apr 2017 19:14:56 +0000 (15:14 -0400)
committerMichael Munday <munday@ca.ibm.com>
Wed, 19 Apr 2017 19:27:39 +0000 (19:27 +0000)
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 <bradfitz@golang.org>
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/internal/obj/s390x/a.out.go

index 98ea5aebcd5d2eddacc1473d143b282eb8db43c2..9d5b34a0b154fdf77514b5489a211d91233bbbc9 100644 (file)
@@ -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