]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssagen: fix misleading comment
authorThan McIntosh <thanm@google.com>
Mon, 3 May 2021 13:32:22 +0000 (09:32 -0400)
committerThan McIntosh <thanm@google.com>
Mon, 3 May 2021 16:31:10 +0000 (16:31 +0000)
commit472f519fe26652af2fcef6121e259d7f193b27cf
tree35ee608e5b3211023508f8eaff84ba293c3d5d87
parentd75fbac54d34484041a5ecb0b65f298b821cd963
cmd/compile/internal/ssagen: fix misleading comment

Fix up a slightly stale comment in the part of ssa generation that
zeros ambiguously live variables: with the advent of the register ABI,
the ir.Func "Dcl" slice is no longer entirely sorted by frame offset,
although this is still the case for the local vars in Dcl.

Change-Id: I633f43d16f0d4e0b444193a6edb6b2aa1154eea7
Reviewed-on: https://go-review.googlesource.com/c/go/+/316309
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssagen/ssa.go