]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: remove redundant "type:" prefix check
authorYoulin Feng <fengyoulin@live.com>
Fri, 5 Sep 2025 14:48:48 +0000 (22:48 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 30 Sep 2025 21:48:08 +0000 (14:48 -0700)
commitfcb893fc4b615774f8cdd050e17ad227998e512a
treee8b231e431e512e5bd5a7d3c0e0272078d675b09
parent19cc1022ba4e9ddf172c04107fa613e6d50a7eba
cmd/compile/internal/ssa: remove redundant "type:" prefix check

Remove redundant "type:" prefix check on symbol names in isFixedLoad,
also refactor some duplicate code into methods.

Change-Id: I8358422596eea8c39d1a30a554bd0aae8b570038
Reviewed-on: https://go-review.googlesource.com/c/go/+/701275
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/internal/obj/link.go