diff options
| author | Michael Pratt <mpratt@google.com> | 2023-11-03 16:00:40 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-11-10 20:33:58 +0000 |
| commit | e323e7d973cbc0fb979bee35baa606b72f38b408 (patch) | |
| tree | 321a4f46af79f3a9dcbf8bb574914c18625f3857 /src/runtime/mpagealloc.go | |
| parent | 505dff4fe260cc0b92482cfcf6d4dce233d2b10d (diff) | |
| download | go-e323e7d973cbc0fb979bee35baa606b72f38b408.tar.xz | |
cmd/compile: move FuncPC intrinsic handling to common helper
CL 539699 will need to do the equivalent of
internal/abi.FuncPCABIInternal to get the PC of a function value for the
runtime devirtualization check.
Move the FuncPC expression creation from the depths of walk to a
typecheck helper so it can be reused in both places.
For #61577.
Change-Id: I76f333157cf0e5fd867b41bfffcdaf6f45254707
Reviewed-on: https://go-review.googlesource.com/c/go/+/539698
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/mpagealloc.go')
0 files changed, 0 insertions, 0 deletions
