diff options
Diffstat (limited to 'lib/Transforms/Scalar/ADCE.cpp')
-rw-r--r-- | lib/Transforms/Scalar/ADCE.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 8219855faf..5bfb587cbe 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -387,8 +387,8 @@ bool ADCE::doADCE() { // postdominator that is alive, and the last postdominator that is // dead... // - PostDominatorTree::Node *LastNode = DT[TI->getSuccessor(i)]; - PostDominatorTree::Node *NextNode = 0; + PostDominatorTree::DomTreeNode *LastNode = DT[TI->getSuccessor(i)]; + PostDominatorTree::DomTreeNode *NextNode = 0; if (LastNode) { NextNode = LastNode->getIDom(); |