diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-27 07:27:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-27 07:27:19 +0000 |
commit | 483e14ee0412a98db1fb0121528d8d621ae3dfdb (patch) | |
tree | ac49b8e451a1a70cfebad3a753f5999ac06f4d06 /lib/VMCore/Dominators.cpp | |
parent | 3b743f9fb3dc95aabc54d17cafe1b393b76b943c (diff) | |
download | external_llvm-483e14ee0412a98db1fb0121528d8d621ae3dfdb.zip external_llvm-483e14ee0412a98db1fb0121528d8d621ae3dfdb.tar.gz external_llvm-483e14ee0412a98db1fb0121528d8d621ae3dfdb.tar.bz2 |
s/Method/Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Dominators.cpp')
-rw-r--r-- | lib/VMCore/Dominators.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index 387b673..cf55ab5 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/VMCore/Dominators.cpp @@ -6,7 +6,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Analysis/Dominators.h" -#include "llvm/Transforms/UnifyMethodExitNodes.h" +#include "llvm/Transforms/UnifyFunctionExitNodes.h" #include "llvm/Function.h" #include "llvm/Support/CFG.h" #include "Support/DepthFirstIterator.h" @@ -85,7 +85,7 @@ void cfg::DominatorSet::calcPostDominatorSet(Function *M) { // that there can be at most one return instruction in the function left. // Get it. // - Root = getAnalysis<UnifyMethodExitNodes>().getExitNode(); + Root = getAnalysis<UnifyFunctionExitNodes>().getExitNode(); if (Root == 0) { // No exit node for the function? Postdomsets are all empty for (Function::const_iterator MI = M->begin(), ME = M->end(); MI!=ME; ++MI) @@ -136,7 +136,7 @@ void cfg::DominatorSet::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); if (isPostDominator()) { AU.addProvided(PostDomID); - AU.addRequired(UnifyMethodExitNodes::ID); + AU.addRequired(UnifyFunctionExitNodes::ID); } else { AU.addProvided(ID); } |