diff options
author | Matthew Dempsky <mdempsky@google.com> | 2020-12-01 03:52:20 -0800 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2020-12-01 17:16:53 +0000 |
commit | 6ca23a45feebc8672a1851dbc65c5b34d481ca30 (patch) | |
tree | 04e05c89b37a93df37575c7a0db2c499f7eb8efc /src/cmd/compile/internal/ssa/export_test.go | |
parent | a17c5e2fce9340ec19d4019490b38a7645f244df (diff) | |
download | go-6ca23a45feebc8672a1851dbc65c5b34d481ca30.tar.gz go-6ca23a45feebc8672a1851dbc65c5b34d481ca30.zip |
[dev.regabi] cmd/compile: only save ONAMEs on Curfn.Dcl
There's not really any use to tracking function-scoped constants and
types on Curfn.Dcl, and there's sloppy code that assumes all of the
declarations are variables (e.g., cmpstackvarlt).
Change-Id: I5d10dc681dac2c161c7b73ba808403052ca0608e
Reviewed-on: https://go-review.googlesource.com/c/go/+/274436
Reviewed-by: Russ Cox <rsc@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/export_test.go')
0 files changed, 0 insertions, 0 deletions