]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: remove Declare in makepartialcall
authorMatthew Dempsky <mdempsky@google.com>
Sun, 27 Dec 2020 19:11:11 +0000 (11:11 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 28 Dec 2020 08:07:51 +0000 (08:07 +0000)
commit098a6490b93f337ed3f13a7a18376ebb8175f2be
treee46668060d7e30fa8dc2f0e118bc14e3bfc8752c
parent137f0d2e06523f6daf808ea09e77e68d8944a85a
[dev.regabi] cmd/compile: remove Declare in makepartialcall

This is the only remaining late call to Declare. By changing it to use
Temp, we'll be able to move the legacy lexical scoping logic by moving
it to noder and iimport.

Passes toolstash -cmp.

Change-Id: Id7cf7a08e3138e50816f515fef3088785a10aaf4
Reviewed-on: https://go-review.googlesource.com/c/go/+/280513
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/typecheck/func.go