mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-28 00:50:37 +00:00
Fix PR575, patch provided by John Mellor-Crummey. Thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
065e4208a9
commit
d286b245be
@ -459,6 +459,7 @@ void LowerSetJmp::visitCallInst(CallInst& CI)
|
||||
|
||||
BasicBlock* NewBB = OldBB->splitBasicBlock(CI);
|
||||
assert(NewBB && "Couldn't split BB of \"call\" instruction!!");
|
||||
DFSBlocks.insert(NewBB);
|
||||
NewBB->setName("Call2Invoke");
|
||||
|
||||
Function* Func = OldBB->getParent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user