diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-11 16:26:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-11 16:26:13 +0000 |
commit | bb9d03b9c02529004f33faab7ffc8317686b43de (patch) | |
tree | 3604703d6a229dee9a20edaea05014d894967277 /llvm/lib/Transforms/Scalar/ADCE.cpp | |
parent | c5df0bb273d097b18e4b7468b7103cd3baa66958 (diff) | |
download | bcm5719-llvm-bb9d03b9c02529004f33faab7ffc8317686b43de.tar.gz bcm5719-llvm-bb9d03b9c02529004f33faab7ffc8317686b43de.zip |
Renamed DominatorTree::Node::getNode() -> getBlock()
llvm-svn: 8469
Diffstat (limited to 'llvm/lib/Transforms/Scalar/ADCE.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/ADCE.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp index 0efdbf4b0f6..897e2093fcd 100644 --- a/llvm/lib/Transforms/Scalar/ADCE.cpp +++ b/llvm/lib/Transforms/Scalar/ADCE.cpp @@ -344,14 +344,14 @@ bool ADCE::doADCE() { } else { PostDominatorTree::Node *NextNode = LastNode->getIDom(); - while (!AliveBlocks.count(NextNode->getNode())) { + while (!AliveBlocks.count(NextNode->getBlock())) { LastNode = NextNode; NextNode = NextNode->getIDom(); } // Get the basic blocks that we need... - BasicBlock *LastDead = LastNode->getNode(); - BasicBlock *NextAlive = NextNode->getNode(); + BasicBlock *LastDead = LastNode->getBlock(); + BasicBlock *NextAlive = NextNode->getBlock(); // Make the conditional branch now go to the next alive block... TI->getSuccessor(i)->removePredecessor(BB); |