mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53: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;
|
SDNode *User = *UI;
|
||||||
for (unsigned i = 0, e = User->getNumOperands(); i != e; ++i)
|
for (unsigned i = 0, e = User->getNumOperands(); i != e; ++i)
|
||||||
if (User->getOperand(i) == TheChain)
|
if (User->getOperand(i) == TheChain)
|
||||||
return FindCallSeqEnd(User);
|
if (SDNode *Result = FindCallSeqEnd(User))
|
||||||
|
return Result;
|
||||||
}
|
}
|
||||||
assert(0 && "Unreachable");
|
assert(0 && "Unreachable");
|
||||||
abort();
|
abort();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user