aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Dominators.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-20 14:39:18 +0000
committerChris Lattner <sabre@nondot.org>2003-09-20 14:39:18 +0000
commit02a3be020a6b4eedb4b489959997d23a22cdf22e (patch)
tree39fec120d7a18969260d3b96afb29bdecbcf9155 /lib/VMCore/Dominators.cpp
parent894707117e718b38cdd5fbbf7b2d2ccfcbafe98b (diff)
downloadexternal_llvm-02a3be020a6b4eedb4b489959997d23a22cdf22e.zip
external_llvm-02a3be020a6b4eedb4b489959997d23a22cdf22e.tar.gz
external_llvm-02a3be020a6b4eedb4b489959997d23a22cdf22e.tar.bz2
Rename Function::getEntryNode -> getEntryBlock
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Dominators.cpp')
-rw-r--r--lib/VMCore/Dominators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp
index f22bd0c..671b494 100644
--- a/lib/VMCore/Dominators.cpp
+++ b/lib/VMCore/Dominators.cpp
@@ -87,7 +87,7 @@ void DominatorSet::calculateDominatorsFromBlock(BasicBlock *RootBB) {
// specified function.
//
bool DominatorSet::runOnFunction(Function &F) {
- BasicBlock *Root = &F.getEntryNode();
+ BasicBlock *Root = &F.getEntryBlock();
Roots.clear();
Roots.push_back(Root);
assert(pred_begin(Root) == pred_end(Root) &&