aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2023-08-11 18:21:22 -0700
committerGopher Robot <gobot@golang.org>2023-08-15 20:43:50 +0000
commit3be2176d92ad318b9085980b0b7f09f30541afb3 (patch)
tree644a1d7dca7398cae3a039c0526d0b35773d0059 /src/errors
parente95ca9154a6d326248357e87caa4e24368bcb68b (diff)
downloadgo-3be2176d92ad318b9085980b0b7f09f30541afb3.tar.xz
cmd/compile: improve ir.StaticValue and extract ir.StaticCalleeName
This CL extends ir.StaticValue to also work on closure variables. Also, it extracts the code from escape analysis that's responsible for determining the static callee of a function. This will be useful when go/defer statement normalization is moved to typecheck. Change-Id: I69e1f7fb185658dc9fbfdc69d0f511c84df1d3ac Reviewed-on: https://go-review.googlesource.com/c/go/+/518959 Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/errors')
0 files changed, 0 insertions, 0 deletions