]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: setup for new Node implementations
authorRuss Cox <rsc@golang.org>
Sat, 28 Nov 2020 05:14:38 +0000 (00:14 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 30 Nov 2020 18:33:50 +0000 (18:33 +0000)
commit79a3d5ce158de1696256d58aa563ca7cd30f6c3f
tree94c372d86098b7baa033a5a519d5cc6405fb5a43
parent0c65a2f31734021654ec5eebc270f8c84e5410c7
[dev.regabi] cmd/compile: setup for new Node implementations

Start a list of which ops are valid for the default
node struct implementation (currently all of them).

Add a Node implementation helper for a minimal node.

Passes buildall w/ toolstash -cmp.

Change-Id: I7ae45f2cf2be85013cb71ab00524be53f243e13d
Reviewed-on: https://go-review.googlesource.com/c/go/+/274088
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/typecheck.go
src/cmd/compile/internal/ir/bitset.go
src/cmd/compile/internal/ir/mini.go [new file with mode: 0644]
src/cmd/compile/internal/ir/node.go