]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: break apart dumptypestructs
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 24 Apr 2017 00:35:12 +0000 (17:35 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 24 Apr 2017 00:58:15 +0000 (00:58 +0000)
commit976a5ce1a86bfb3772f1301a77eb41c17fe9178a
tree5fe94088ba14577bd1731a4e6a0dcbfdb75a36e2
parent07d09003f1f3360ae870b9960b6a96079e319b3b
cmd/compile: break apart dumptypestructs

dumptypestructs did several different jobs.
Split them into separate functions
and call them in turn.

Hand dumptypestructs a list of dcls,
rather than reading the global.

Rename dumpptabs for (marginal) clarity.

This is groundwork for compiling autogenerated
functions concurrently.

Passes toolstash-check.

Change-Id: I627a1dffc70a7e4b7b4436ab19af1406267f01dc
Reviewed-on: https://go-review.googlesource.com/41501
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/obj.go
src/cmd/compile/internal/gc/reflect.go