From 6b0bd51c1c7f34acdc5556d88a52d9a9f3b14da5 Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Wed, 19 Apr 2017 15:14:56 -0400 Subject: [PATCH] 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 --- src/cmd/internal/obj/s390x/a.out.go | 1 - 1 file changed, 1 deletion(-) 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