]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/s390x: cleanup betypeinit
authorMatthew Dempsky <mdempsky@google.com>
Wed, 17 Aug 2016 15:57:15 +0000 (08:57 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 17 Aug 2016 16:24:22 +0000 (16:24 +0000)
The Width{int,ptr,reg} assignments are no longer necessary since
golang.org/cl/21623. The other arch's betypeinit functions were
cleaned up, but apparently this one was missed.

Change-Id: I1c7f074d7864a561659c1f98aef604f57f285fd0
Reviewed-on: https://go-review.googlesource.com/27272
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/compile/internal/s390x/galign.go

index d0d621e557bea5d8879ddba2fd2b5a108336967c..09bc5d1f5d8f63d473295c964410eeee23b6777c 100644 (file)
@@ -10,9 +10,6 @@ import (
 )
 
 func betypeinit() {
-       gc.Widthptr = 8
-       gc.Widthint = 8
-       gc.Widthreg = 8
 }
 
 func Main() {