]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: in poset, refactor aliasnode
authorGiovanni Bajo <rasky@develer.com>
Fri, 27 Sep 2019 22:08:45 +0000 (00:08 +0200)
committerGiovanni Bajo <rasky@develer.com>
Sat, 26 Oct 2019 07:06:49 +0000 (07:06 +0000)
commit7e68f81dd8759ce7cc8a1ff596503f66d6a0eeae
tree8bde769f794988d1b4d88a29972bafd95c9fcf3e
parentc3e8a20a65c731eac6434a129cdaf5ed02325612
cmd/compile: in poset, refactor aliasnode

In preparation for allowing to make multiple nodes as aliases
in a single pass, refactor aliasnode splitting out the case
in which one of the nodes is not in the post into a new
funciton (aliasnewnode).

No functional changes, passes toolstash -cmp

Change-Id: I19ca6ef8426f8aec9f2622b6151c5c617dbb25b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/200859
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/poset.go