mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
Change uses of Function::front to Function::getEntryBlock for readability.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -265,9 +265,10 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG, const TargetData *TD) {
|
||||
// Transfer all of the allocas over in a block. Using splice means
|
||||
// that the instructions aren't removed from the symbol table, then
|
||||
// reinserted.
|
||||
Caller->front().getInstList().splice(InsertPoint,
|
||||
FirstNewBlock->getInstList(),
|
||||
AI, I);
|
||||
Caller->getEntryBlock().getInstList().splice(
|
||||
InsertPoint,
|
||||
FirstNewBlock->getInstList(),
|
||||
AI, I);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user