]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: do not push functions literal node to Func.Dcl
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 2 Sep 2020 05:45:07 +0000 (12:45 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 3 Sep 2020 02:48:04 +0000 (02:48 +0000)
commitace37d35f18675ac935dc2c6b534dda32ebe84e5
tree914aab09df39503d8c52f530e161e0569d1c3b66
parent0e48c674f5f8e906c03d1ea0055eb74959d149cc
cmd/compile: do not push functions literal node to Func.Dcl

They are skipped while processing Func.Dcl anyway.

This CL does not pass toolstash-check, because it reduces the length
of Func.Dcl length, while that length is used to generate autotmp
variables name.

Change-Id: I408183e62ce6c34e5f04c89814ebb9570957e37b
Reviewed-on: https://go-review.googlesource.com/c/go/+/252418
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/dcl.go