]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: add custom statement Node implementations
authorRuss Cox <rsc@golang.org>
Mon, 30 Nov 2020 02:23:47 +0000 (21:23 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 30 Nov 2020 23:48:34 +0000 (23:48 +0000)
commitffa68716a0d50acd29a8eae7874c7e8d02f757ca
tree0d3abcd92471494995747a39ff4e794590d00091
parent2bc814cd18b582030f25d22e0a3e80d4d30b19cf
[dev.regabi] cmd/compile: add custom statement Node implementations

These are fairly rote implementations of structs appropriate to
each Op (or group of Ops).

The names of these are unknown except to ir.NodAt for now.
A later, automated change will introduce direct use of the types
throughout package gc.

Passes buildall w/ toolstash -cmp.

Change-Id: Ie9835fcd2b214fda5b2149e187af369d76534487
Reviewed-on: https://go-review.googlesource.com/c/go/+/274108
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/ir/node.go
src/cmd/compile/internal/ir/stmt.go