aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-03-16 15:54:44 -0400
committerRuss Cox <rsc@golang.org>2015-03-20 04:47:08 +0000
commit532ccae1547580e572cf5cd0f687f4508ceeddb9 (patch)
tree0bf2149cc9ed14425e7cc6f83dd597372597aad2 /src/os/exec/exec.go
parent631d6a33bf2889c5c648555ab993687a48f9c287 (diff)
downloadgo-532ccae1547580e572cf5cd0f687f4508ceeddb9.tar.xz
cmd/internal/obj: replace Addr.U struct {...} with Val interface{}
An interface{} is more in the spirit of the original union. By my calculations, on 64-bit systems this reduces Addr from 120 to 80 bytes, and Prog from 592 to 424 bytes. Change-Id: I0d7b0981513c2a3c94c9ac76bb4f8816485b5a3c Reviewed-on: https://go-review.googlesource.com/7744 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions