diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-20 14:39:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-20 14:39:18 +0000 |
commit | 02a3be020a6b4eedb4b489959997d23a22cdf22e (patch) | |
tree | 39fec120d7a18969260d3b96afb29bdecbcf9155 /lib/VMCore/Dominators.cpp | |
parent | 894707117e718b38cdd5fbbf7b2d2ccfcbafe98b (diff) | |
download | external_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.cpp | 2 |
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) && |