]> Cypherpunks repositories - gostls13.git/commit
cmd/5g, cmd/internal/ld, cmd/internal/obj: destutter composite literals
authorMatthew Dempsky <mdempsky@google.com>
Fri, 10 Apr 2015 22:25:10 +0000 (15:25 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Sat, 11 Apr 2015 19:31:40 +0000 (19:31 +0000)
commitce469fadd8491dbe099d50402c0914d3746d49a1
tree4f4337854cd8e377cbbc46ef003408c299b655e5
parent985461fd9ee121642fd30ae774d2b4d2b54606c2
cmd/5g, cmd/internal/ld, cmd/internal/obj: destutter composite literals

While here, this changes DWAbbrev's attr field from a [30]DWAttrForm
with zero-termination to a simple []DWAttrForm, and updates its users
accordingly.

Passes "go build -toolexec 'toolstash -cmp' -a std" on linux/amd64.

Change-Id: I52b5f7a749bdb3e7588fc8ebdb8fee2cf8cab602
Reviewed-on: https://go-review.googlesource.com/8762
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
src/cmd/5g/peep.go
src/cmd/internal/ld/dwarf.go
src/cmd/internal/obj/go.go
src/cmd/internal/obj/sym.go