aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2024-09-16 13:04:54 -0400
committerMichael Pratt <mpratt@google.com>2024-09-16 18:49:05 +0000
commit5b2f71a2c3f66b93d78bf0d0d7e5b6f0b54caf93 (patch)
treeff37dc91dcfb5f68456edac373abca680df2a885 /src/cmd/internal
parent5367d696f7a610b0e3826914d2633888e66b9f0b (diff)
downloadgo-5b2f71a2c3f66b93d78bf0d0d7e5b6f0b54caf93.tar.xz
cmd/compile/internal/typecheck: remove getcallerpc/sp builtin signature
The compiler never does a lookup of these (LookupRuntime), so they aren't needed here. getcallerpc is only used in intrinsification. getcallersp is used in intrinsification and defer handling via a direct OGETCALLERSP op. For #54766. Change-Id: I1666ceef3360a84573ae5b41b1c51d9205de7235 Reviewed-on: https://go-review.googlesource.com/c/go/+/613495 Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/internal')
-rw-r--r--src/cmd/internal/goobj/builtinlist.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/internal/goobj/builtinlist.go b/src/cmd/internal/goobj/builtinlist.go
index 98a7fd0411..a18e944c6b 100644
--- a/src/cmd/internal/goobj/builtinlist.go
+++ b/src/cmd/internal/goobj/builtinlist.go
@@ -186,8 +186,6 @@ var builtins = [...]struct {
{"runtime.uint64tofloat32", 1},
{"runtime.uint32tofloat64", 1},
{"runtime.complex128div", 1},
- {"runtime.getcallerpc", 1},
- {"runtime.getcallersp", 1},
{"runtime.racefuncenter", 1},
{"runtime.racefuncexit", 1},
{"runtime.raceread", 1},