mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 04:25:22 +00:00
Fix warning when assertions disabled.
llvm-svn: 52590
This commit is contained in:
parent
76d8bbc7c2
commit
5b0bc729b3
@ -127,7 +127,7 @@ AllocaInst* llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) {
|
||||
for (unsigned i = 0, e = P->getNumIncomingValues(); i < e; ++i) {
|
||||
if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) {
|
||||
assert(II->getParent() != P->getIncomingBlock(i) &&
|
||||
"Invoke edge not supported yet");
|
||||
"Invoke edge not supported yet"); II=II;
|
||||
}
|
||||
new StoreInst(P->getIncomingValue(i), Slot,
|
||||
P->getIncomingBlock(i)->getTerminator());
|
||||
|
Loading…
Reference in New Issue
Block a user