]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: optimize abi.Type.GCData loads
authorJake Bailey <jacob.b.bailey@gmail.com>
Fri, 5 Sep 2025 21:47:31 +0000 (14:47 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 12 Sep 2025 16:39:29 +0000 (09:39 -0700)
commitf1fd13016ab51b93f5d39b0c46aa8c2b42e8f761
treeee8bc50292fffedc66a894160fb23574fd3c304d
parentdc960d0bfeb6ce6abd0cfa2c096476d98e9ec7cd
cmd/compile: optimize abi.Type.GCData loads

This fires in just one place; stkframe.go's stkobjinit. But, it does
make the struct literal entirely constants.

Change-Id: Ice76cb3cddd97adee011fdaab40597839da2e89f
Reviewed-on: https://go-review.googlesource.com/c/go/+/701300
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/cmd/compile/internal/liveness/plive.go
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/compile/internal/ssa/rewrite.go