]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: unify arraylit and structlit
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 19 Jun 2016 19:11:47 +0000 (12:11 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sun, 4 Sep 2016 16:18:39 +0000 (16:18 +0000)
commitcd2d5ee0485fd0fa5a102c9de372c70b7a31d154
treef4ebc2b4a64ff726301e6122d6cddd713a2c3ea1
parent49cce1a62e452c1f2e2acbed37038837edef937d
cmd/compile: unify arraylit and structlit

They were almost identical.
Merge them and some of their calling code.

Passes toolstash -cmp.

Change-Id: I9e92a864a6c09c9e18ed52dc247a678467e344ba
Reviewed-on: https://go-review.googlesource.com/26754
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/compile/internal/gc/sinit.go
src/cmd/compile/internal/gc/walk.go