[llvm-commits] CVS: llvm/lib/Transforms/IPO/LowerSetJmp.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Feb 3 21:23:01 PST 2004
Changes in directory llvm/lib/Transforms/IPO:
LowerSetJmp.cpp updated: 1.14 -> 1.15
---
Log message:
Remove unneeded code now that splitBasicBlock does the "right thing"
---
Diffs of the changes: (+0 -5)
Index: llvm/lib/Transforms/IPO/LowerSetJmp.cpp
diff -u llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.14 llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.15
--- llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.14 Fri Nov 21 15:54:22 2003
+++ llvm/lib/Transforms/IPO/LowerSetJmp.cpp Tue Feb 3 21:21:51 2004
@@ -413,11 +413,6 @@
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);
More information about the llvm-commits
mailing list