mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +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…
Reference in New Issue
Block a user