]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types: remove Type.vargen
authorMatthew Dempsky <mdempsky@google.com>
Tue, 12 Sep 2023 01:50:26 +0000 (18:50 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 12 Sep 2023 15:41:17 +0000 (15:41 +0000)
commitaa381c538af4eeaf5044ca657c5778805bed77d7
tree4451d78abbdae9043f42eede762ca707f8d0f39f
parentd9aca84da0556dea8a1c48e1bbd46f726dab9535
cmd/compile/internal/types: remove Type.vargen

The unified frontend diasmbiguates local types by putting vargen
directly into their symbol name instead. We no longer need a separate
int field for it.

Change-Id: I556c588ed68c5e2cb324cd46abd934894b5aaef9
Reviewed-on: https://go-review.googlesource.com/c/go/+/527517
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types/fmt.go
src/cmd/compile/internal/types/sizeof_test.go
src/cmd/compile/internal/types/type.go