diff options
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 2 | ||||
-rw-r--r-- | lib/Transforms/Scalar/CorrelatedExprs.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index fe32344418..ad82121ba1 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -343,7 +343,7 @@ public: return idom ? idom->getData<BasicBlock>() : 0; } - void getChildren(BasicBlock *A, std::vector<BasicBlock*>& children) const { + void getETNodeChildren(BasicBlock *A, std::vector<BasicBlock*>& children) const { ETNode *NodeA = getNode(A); if (!NodeA) return; const ETNode* son = NodeA->getSon(); diff --git a/lib/Transforms/Scalar/CorrelatedExprs.cpp b/lib/Transforms/Scalar/CorrelatedExprs.cpp index 602343fd5a..1e47f7341c 100644 --- a/lib/Transforms/Scalar/CorrelatedExprs.cpp +++ b/lib/Transforms/Scalar/CorrelatedExprs.cpp @@ -352,7 +352,7 @@ bool CEE::TransformRegion(BasicBlock *BB, std::set<BasicBlock*> &VisitedBlocks){ // information down now. // std::vector<BasicBlock*> children; - EF->getChildren(BB, children); + EF->getETNodeChildren(BB, children); if (!RI.empty()) { // Time opt: only propagate if we can change something for (std::vector<BasicBlock*>::iterator CI = children.begin(), E = children.end(); CI != E; ++CI) { |