]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: more checks on ssa structure
authorKeith Randall <khr@golang.org>
Wed, 5 Aug 2015 04:59:15 +0000 (21:59 -0700)
committerKeith Randall <khr@golang.org>
Thu, 6 Aug 2015 17:33:19 +0000 (17:33 +0000)
commitcfd8dfaa10ab387c6b9c9e620aadab5852a4c76e
tree23a724cf024e03f366a29971a833a44a4f8173bd
parentddeee0eed33a675faa4eee289aabfdb25055cbef
[dev.ssa] cmd/compile/internal/ssa: more checks on ssa structure

Make sure all referenced Blocks and Values are really there.
Fix deadcode to generate SSA graphs that pass this new test.

Change-Id: Ib002ce20e33490eb8c919bd189d209f769d61517
Reviewed-on: https://go-review.googlesource.com/13147
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/check.go
src/cmd/compile/internal/ssa/deadcode.go