]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: rename OEFACE to OMAKEFACE and remove OCONVIDATA
authorMatthew Dempsky <mdempsky@google.com>
Mon, 11 Sep 2023 21:31:55 +0000 (14:31 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 12 Sep 2023 04:50:32 +0000 (04:50 +0000)
commit70fc87ee24d9220031b31b6f81a0e1e1758e8b8f
tree27e1c7aa638a2f7c59f69721dc76daf6027aa0ec
parent5e31f78c8a4ed1b872ddc194f0cd1ae931b37d7e
cmd/compile: rename OEFACE to OMAKEFACE and remove OCONVIDATA

The "eface" in OEFACE suggests it's only for empty interfaces, and the
documentation suggests that too. But it's actually used for both empty
and non-empty interfaces, so rename to OMAKEFACE and adjust docs
accordingly.

Also, remove OCONVIDATA. This was used by the 1.18 frontend for
constructing interfaces containing derived types, but the unified
frontend always uses OCONVIFACE instead, so this is unused now.

Change-Id: I6ec5c62f909b26027f2804e5b3373b7a00029246
Reviewed-on: https://go-review.googlesource.com/c/go/+/527336
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
12 files changed:
src/cmd/compile/internal/escape/expr.go
src/cmd/compile/internal/ir/expr.go
src/cmd/compile/internal/ir/fmt.go
src/cmd/compile/internal/ir/node.go
src/cmd/compile/internal/ir/op_string.go
src/cmd/compile/internal/reflectdata/helpers.go
src/cmd/compile/internal/ssagen/ssa.go
src/cmd/compile/internal/walk/assign.go
src/cmd/compile/internal/walk/convert.go
src/cmd/compile/internal/walk/expr.go
src/cmd/compile/internal/walk/order.go
src/cmd/compile/internal/walk/walk.go