mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +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:
@ -104,7 +104,7 @@ void CodeExtractor::severSplitPHINodes(BasicBlock *&Header) {
|
||||
bool HasPredsFromRegion = false;
|
||||
unsigned NumPredsOutsideRegion = 0;
|
||||
|
||||
if (Header != &Header->getParent()->front()) {
|
||||
if (Header != &Header->getParent()->getEntryBlock()) {
|
||||
PHINode *PN = dyn_cast<PHINode>(Header->begin());
|
||||
if (!PN) return; // No PHI nodes.
|
||||
|
||||
|
Reference in New Issue
Block a user