]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix -N build
authorKeith Randall <khr@golang.org>
Mon, 11 Apr 2016 19:22:26 +0000 (12:22 -0700)
committerKeith Randall <khr@golang.org>
Mon, 11 Apr 2016 19:43:47 +0000 (19:43 +0000)
commit7f53391f6b7f2387a5ed00398d34b046c321966f
treed74baa65f39aa49736206e058b3c6d8393ff5bae
parent7166dfe0c11bd25b962d7f691ea1be857842dfbf
cmd/compile: fix -N build

The decomposer of builtin types is confused by having structs
still around from the user-type decomposer.  They're all dead though,
so just enabling a deadcode pass fixes things.

Change-Id: I2df6bc7e829be03eabfd24c8dda1bff96f3d7091
Reviewed-on: https://go-review.googlesource.com/21839
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/compile.go
src/cmd/compile/internal/ssa/decompose.go