]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: remove SetOp(OEMPTY) calls
authorRuss Cox <rsc@golang.org>
Sat, 28 Nov 2020 05:54:58 +0000 (00:54 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 30 Nov 2020 18:33:52 +0000 (18:33 +0000)
commitb09dbc69132aeee3571867cd269f5273290a2255
tree51ef74ad4d3e8306a4cda8f13cd238c0a3cf71f6
parent171787efcd7a59c90f05a191c74bf5844f1c542a
[dev.regabi] cmd/compile: remove SetOp(OEMPTY) calls

In preparation for OEMPTY being its own Node implementation,
remove SetOp(OEMPTY) calls that assume other implementations
can be turned into OEMPTY.

Passes buildall w/ toolstash -cmp.

Change-Id: Icac16d12548f35f52a5efa9d09dacf8260f42075
Reviewed-on: https://go-review.googlesource.com/c/go/+/274090
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/sinit.go
src/cmd/compile/internal/gc/typecheck.go
src/cmd/compile/internal/gc/walk.go