]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: call missing popdcl in various genxxx functions
authorRobert Griesemer <gri@golang.org>
Thu, 10 Mar 2016 23:07:08 +0000 (15:07 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 11 Mar 2016 04:12:31 +0000 (04:12 +0000)
commit157f069873c0fe2310e628ffd679caffa6e68b4e
tree5909592ee771635798d36b9ae39445f2989ff0bc
parent88a21ebb210a282626b6fccf562957db9bcd9bf4
cmd/compile: call missing popdcl in various genxxx functions

Not calling popdcl doesn't have an impact on generated code but
the result is a growing (rather than empty) stack of symbols,
possibly causing more data to remain alive than necessary.

Also: minor cleanups.

Change-Id: Ic4fdbcd8843637d69ab1aa15e896a7e6339bc990
Reviewed-on: https://go-review.googlesource.com/20554
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/alg.go
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/parser.go
src/cmd/compile/internal/gc/subr.go