]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: move addEdge function to ssa
authorTodd Neal <todd@tneal.org>
Sat, 29 Aug 2015 02:36:29 +0000 (21:36 -0500)
committerTodd Neal <todd@tneal.org>
Sat, 29 Aug 2015 13:10:49 +0000 (13:10 +0000)
commit47d6799b0f1d51f8f749eeebfe5769ea555b5228
tree07c48d5135fba853bdb9bf812c2068e1640877bd
parent67e43c1e3b3e2470b870a9d5b5e6eedceeded5f1
[dev.ssa] cmd/compile: move addEdge function to ssa

addEdge had two identical implementations so make it an exported method
on Block.

Change-Id: I8c21655a9dc5074fefd7f63b2f5b51897571e608
Reviewed-on: https://go-review.googlesource.com/14040
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/block.go
src/cmd/compile/internal/ssa/func_test.go