mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 08:46:37 +00:00
Remove unneeded code now that splitBasicBlock does the "right thing"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6aa017eae
commit
3b332fd376
@ -413,11 +413,6 @@ void LowerSetJmp::TransformSetJmpCall(CallInst* Inst)
|
||||
|
||||
SetJmpContBlock->setName("SetJmpContBlock");
|
||||
|
||||
// Reposition the split BB in the BB list to make things tidier.
|
||||
Func->getBasicBlockList().remove(SetJmpContBlock);
|
||||
Func->getBasicBlockList().insert(++Function::iterator(ABlock),
|
||||
SetJmpContBlock);
|
||||
|
||||
// This PHI node will be in the new block created from the
|
||||
// splitBasicBlock call.
|
||||
PHINode* PHI = new PHINode(Type::IntTy, "SetJmpReturn", Inst);
|
||||
|
Loading…
Reference in New Issue
Block a user