]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: cleanup esc.go
authorHiroshi Ioka <hirochachacha@gmail.com>
Wed, 12 Oct 2016 02:34:47 +0000 (11:34 +0900)
committerDavid Chase <drchase@google.com>
Thu, 13 Oct 2016 03:06:06 +0000 (03:06 +0000)
commit0a0f4bc181835882717d2f4be75fced4061d4572
treead354adfac2b04eca3eb37b1ca73d57551dcad54
parent4940a8379096a48af682c266a0e104f249a80816
cmd/compile/internal/gc: cleanup esc.go

* convert important functions to methods
* rename EscXXX to XXX in NodeEscState
* rename local variables more friendly
* simplify redundant code
* update comments

Change-Id: I8442bf4f8dde84523d9a2ad3d04b1cd326bd4719
Reviewed-on: https://go-review.googlesource.com/30893
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/esc.go
src/cmd/compile/internal/gc/fmt.go