]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove two out-of-phase calls to walk
authorMatthew Dempsky <mdempsky@google.com>
Thu, 8 Mar 2018 10:22:26 +0000 (02:22 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 8 Mar 2018 18:22:13 +0000 (18:22 +0000)
commit6a5cfa8b63fcea71da941a60036ce3c6f22d8764
tree8ae62c8e393419de097ac0bb7e8ca8e553afd1cd
parent8b766e5d09bc4bf2e4fc365111b60a400b144f83
cmd/compile: remove two out-of-phase calls to walk

All calls to walkstmt/walkexpr/etc should be rooted from funccompile,
whereas transformclosure and fninit are called by main.

Passes toolstash-check.

Change-Id: Ic880e2d2d83af09618ce4daa8e7716f6b389e53e
Reviewed-on: https://go-review.googlesource.com/99418
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/closure.go
src/cmd/compile/internal/gc/init.go