]> Cypherpunks repositories - gostls13.git/commit
cmd/compiler/internal/ssagen: refactor code to sort stack vars
authorThan McIntosh <thanm@google.com>
Thu, 22 Feb 2024 14:12:06 +0000 (14:12 +0000)
committerThan McIntosh <thanm@google.com>
Fri, 29 Mar 2024 21:55:16 +0000 (21:55 +0000)
commit593daf785f5afc8106dd0b17fcad84c9627e5fae
treeefa348e4b44d1346e8c4d939f852fbfa568f00a5
parent29fcd1569af7025dc0730449ddc7912e8c4791da
cmd/compiler/internal/ssagen: refactor code to sort stack vars

Minor refactoring of the code that sorts stack variables to move
from sort.Stable to sort.SliceStable. No change in semantics; this
is intended to lay the groundwork for a future change.

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