diff options
author | Matthew Dempsky <mdempsky@google.com> | 2020-12-17 20:17:04 -0800 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2020-12-22 17:04:46 +0000 |
commit | c8610e4700bee51898197987de5335b8527079e8 (patch) | |
tree | 957514feea6135c466a9e83f967cbbbb204e6cf9 /src/cmd/compile/internal/gc/main.go | |
parent | 3512cde10ac5e466527d69313b8250b2ea0146b1 (diff) | |
download | go-c8610e4700bee51898197987de5335b8527079e8.tar.gz go-c8610e4700bee51898197987de5335b8527079e8.zip |
[dev.regabi] cmd/compile: add ir.BasicLit to represent literals
This CL changes so that all literals are represented with a new,
smaller ir.BasicLit type, so that ir.Name is only used to represent
declared constants.
Passes buildall w/ toolstash -cmp.
Change-Id: I4702b8e3fa945617bd05881d7a2be1205f229633
Reviewed-on: https://go-review.googlesource.com/c/go/+/279153
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/gc/main.go')
0 files changed, 0 insertions, 0 deletions