mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 21:05:23 +00:00
Fix a problem that nate reduced for me.
llvm-svn: 21923
This commit is contained in:
parent
59bb0edb45
commit
670c7f516c
@ -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