]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: common up code in fuse for joining blocks
authorDavid Chase <drchase@google.com>
Fri, 18 May 2018 21:43:11 +0000 (17:43 -0400)
committerDavid Chase <drchase@google.com>
Tue, 22 May 2018 21:46:36 +0000 (21:46 +0000)
commitcfbf375a81a54027bdbd8e74a946d0c1124dc771
tree9b6085d48690a8e8f544e16e16a5db3890192c15
parentf11e9aac4f7340812a35ffadd8283cddd4cd3031
cmd/compile: common up code in fuse for joining blocks

There's semantically-but-not-literally equivalent code in
two cases for joining blocks' value lists in ssa/fuse.go.
It can be made literally equivalent, then commoned up.

Updates #25426.

Change-Id: Id1819366c9d22e5126f9203dcd4c622423994110
Reviewed-on: https://go-review.googlesource.com/113719
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/fuse.go