diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-04 03:21:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-04 03:21:51 +0000 |
commit | 0ff9da5fedfc67b443a3ceaa5c210c597e69631a (patch) | |
tree | fbc24b0f08cbcc65e903addfb04397e1faacd083 /llvm/lib/Transforms/IPO/LowerSetJmp.cpp | |
parent | 9cda4bf8e5d6a3bcedfafc26647900464cdf32e2 (diff) | |
download | bcm5719-llvm-0ff9da5fedfc67b443a3ceaa5c210c597e69631a.tar.gz bcm5719-llvm-0ff9da5fedfc67b443a3ceaa5c210c597e69631a.zip |
Remove unneeded code now that splitBasicBlock does the "right thing"
llvm-svn: 11111
Diffstat (limited to 'llvm/lib/Transforms/IPO/LowerSetJmp.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/LowerSetJmp.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp index a9c87f6a89b..79f1c3e3e0e 100644 --- a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp +++ b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp @@ -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); |