aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/typecheck/iexport.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2021-01-11 15:58:19 -0800
committerMatthew Dempsky <mdempsky@google.com>2021-01-12 02:46:27 +0000
commitb4d2a0445b0ca54a159e0895e1a8b31d47411894 (patch)
tree2749d36d62ec3b0ea128e39766c49527cfc73978 /src/cmd/compile/internal/typecheck/iexport.go
parentf57f484053f276c6fb57047cf02fa043974d7b95 (diff)
downloadgo-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