mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Fix a problem that nate reduced for me.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9530ddcc60
commit
eb516e7f0a
@ -2009,7 +2009,8 @@ static SDNode *FindCallSeqEnd(SDNode *Node) {
|
||||
SDNode *User = *UI;
|
||||
for (unsigned i = 0, e = User->getNumOperands(); i != e; ++i)
|
||||
if (User->getOperand(i) == TheChain)
|
||||
return FindCallSeqEnd(User);
|
||||
if (SDNode *Result = FindCallSeqEnd(User))
|
||||
return Result;
|
||||
}
|
||||
assert(0 && "Unreachable");
|
||||
abort();
|
||||
|
Loading…
x
Reference in New Issue
Block a user