]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: add ir.PkgName
authorRuss Cox <rsc@golang.org>
Sat, 28 Nov 2020 06:11:49 +0000 (01:11 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 30 Nov 2020 18:33:56 +0000 (18:33 +0000)
commitf6106d195db8bd7ef268e621f4a0d9ddbe9c58f6
treee51d22528f906ea9b3a4a2be4baf73cb5e5ed076
parent420809ab08d28fbe8dbe0e8fa4159c7dc82d88ae
[dev.regabi] cmd/compile: add ir.PkgName

OPACK was using a whole Node and Name and Param
to hold about three fields. Give it its own implementation.

Passes buildall w/ toolstash -cmp.

Change-Id: I85a28b43d37183b2062d337b0b1b2eea52884e8c
Reviewed-on: https://go-review.googlesource.com/c/go/+/274093
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/gc/noder.go
src/cmd/compile/internal/gc/subr.go
src/cmd/compile/internal/ir/name.go
src/cmd/compile/internal/ir/node.go
src/cmd/compile/internal/ir/sizeof_test.go