Rename Function::getEntryNode -> getEntryBlock

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-09-20 14:39:18 +00:00
parent 894707117e
commit 02a3be020a
13 changed files with 21 additions and 20 deletions

View File

@ -38,7 +38,7 @@ bool PromotePass::runOnFunction(Function &F) {
std::vector<AllocaInst*> Allocas;
const TargetData &TD = getAnalysis<TargetData>();
BasicBlock &BB = F.getEntryNode(); // Get the entry node for the function
BasicBlock &BB = F.getEntryBlock(); // Get the entry node for the function
bool Changed = false;