diff options
author | Matthew Dempsky <mdempsky@google.com> | 2021-01-11 15:58:19 -0800 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2021-01-12 02:46:27 +0000 |
commit | b4d2a0445b0ca54a159e0895e1a8b31d47411894 (patch) | |
tree | 2749d36d62ec3b0ea128e39766c49527cfc73978 /src/cmd/compile/internal/typecheck/iexport.go | |
parent | f57f484053f276c6fb57047cf02fa043974d7b95 (diff) | |
download | go-b4d2a0445b0ca54a159e0895e1a8b31d47411894.tar.gz go-b4d2a0445b0ca54a159e0895e1a8b31d47411894.zip |
[dev.regabi] cmd/compile: refactor closure var setup/teardown
Creating closure vars is subtle and is also needed in both CL 281932
and CL 283112, so refactor out a common implementation that can be
used in all 3 places.
Passes toolstash -cmp.
Change-Id: Ib993eb90c895b52759bfbfbaad88921e391b0b4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/283194
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
Trust: Dan Scales <danscales@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/iexport.go')
0 files changed, 0 insertions, 0 deletions