]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: simplify stack temp initialization
authorMatthew Dempsky <mdempsky@google.com>
Sun, 17 Jan 2021 03:35:39 +0000 (19:35 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Sun, 17 Jan 2021 05:08:11 +0000 (05:08 +0000)
commit7ce2a8383d154ca1860286a9b5c8a1e6cf151a90
tree2beadbe415f225280d29b9828349b8d70fad0dde
parentba0e8a92fa74768feaccb8c3e4e5791b2dbc382f
[dev.regabi] cmd/compile: simplify stack temp initialization

This CL simplifies the previous one a little bit further, by combining
reordering stack-temporary initialization and getting rid of an
unneeded temporary variable. (Does not pass toolstash -cmp.)

Change-Id: I17799dfe368484f33a8ddd0ab4f68647d6262147
Reviewed-on: https://go-review.googlesource.com/c/go/+/284225
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/walk/complit.go
src/cmd/compile/internal/walk/temp.go