projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6aa017
)
Remove unneeded code now that splitBasicBlock does the "right thing"
author
Chris Lattner
<sabre@nondot.org>
Wed, 4 Feb 2004 03:21:51 +0000
(
03:21
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 4 Feb 2004 03:21:51 +0000
(
03:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11111
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/LowerSetJmp.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/LowerSetJmp.cpp
b/lib/Transforms/IPO/LowerSetJmp.cpp
index a9c87f6a89b2f6aa2b2730954fcc9813bcd16983..79f1c3e3e0e195a66da00c1d2a233acc058f501c 100644
(file)
--- a/
lib/Transforms/IPO/LowerSetJmp.cpp
+++ b/
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);