]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: consistently use s.pp in genssa
authorMichael Pratt <mpratt@google.com>
Fri, 2 Feb 2024 18:30:15 +0000 (13:30 -0500)
committerMichael Pratt <mpratt@google.com>
Mon, 5 Feb 2024 16:43:45 +0000 (16:43 +0000)
commit468f56b10a90176aead2443dc1b6e883a0a41ab8
tree0bdca7dff7cf14c32498d6f8b2b9ecce80dbaddb
parentd3fd7ee5803078b775f8c4de6c056e4a360ea2cc
cmd/compile: consistently use s.pp in genssa

In genssa, s.pp == pp, so using either is equivalent, but use is
inconsistent. About half of the uses use s.pp and the other half use pp.

This gets confusing, especially when two different uses are right next
to each other, because it implies that these might be different.

Pick one and use it consistently.

Change-Id: Ifb1bb9332138d8cb62a45c212fcd7139f8511901
Reviewed-on: https://go-review.googlesource.com/c/go/+/560780
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssagen/ssa.go