mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Fix build warning.
llvm-svn: 246908
This commit is contained in:
parent
45d06f966e
commit
10cdbfe119
@ -2992,7 +2992,7 @@ bool SimplifyCFGOpt::SimplifyCleanupReturn(CleanupReturnInst *RI) {
|
||||
|
||||
int Idx = DestPN->getBasicBlockIndex(BB);
|
||||
// Since BB unwinds to UnwindDest, it has to be in the PHI node.
|
||||
assert(Idx != -1U);
|
||||
assert(Idx != -1);
|
||||
// This PHI node has an incoming value that corresponds to a control
|
||||
// path through the cleanup pad we are removing. If the incoming
|
||||
// value is in the cleanup pad, it must be a PHINode (because we
|
||||
|
Loading…
x
Reference in New Issue
Block a user