OSDN Git Service

if basic blocks are destroyed while there are *just* BlockAddress' hanging
authorChris Lattner <sabre@nondot.org>
Fri, 30 Oct 2009 22:39:36 +0000 (22:39 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 30 Oct 2009 22:39:36 +0000 (22:39 +0000)
commitdac8bde235b92b28202fe64ada3695aedbb8bf6d
tree207aaefadefeae691e8d9de926b85a1e65e67f8f
parent2c63566e406974caa70ee27f35af28112e80f951
if basic blocks are destroyed while there are *just* BlockAddress' hanging
around, then zap them.  This is analogous to dangling constantexprs hanging
off functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85627 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/BasicBlock.cpp
test/Transforms/SimplifyCFG/basictest.ll