]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/typecheck: remove getcallerpc/sp builtin signature
authorMichael Pratt <mpratt@google.com>
Mon, 16 Sep 2024 17:04:54 +0000 (13:04 -0400)
committerMichael Pratt <mpratt@google.com>
Mon, 16 Sep 2024 18:49:05 +0000 (18:49 +0000)
commit5b2f71a2c3f66b93d78bf0d0d7e5b6f0b54caf93
treeff37dc91dcfb5f68456edac373abca680df2a885
parent5367d696f7a610b0e3826914d2633888e66b9f0b
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>
src/cmd/compile/internal/typecheck/_builtin/runtime.go
src/cmd/compile/internal/typecheck/builtin.go
src/cmd/internal/goobj/builtinlist.go