[llvm-commits] CVS: llvm/lib/VMCore/iBranch.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 20 12:13:02 PST 2003
Changes in directory llvm/lib/VMCore:
iBranch.cpp updated: 1.11 -> 1.12
---
Log message:
Somehow I forgot poor little UnwindInst
*sniff*
---
Diffs of the changes: (+4 -1)
Index: llvm/lib/VMCore/iBranch.cpp
diff -u llvm/lib/VMCore/iBranch.cpp:1.11 llvm/lib/VMCore/iBranch.cpp:1.12
--- llvm/lib/VMCore/iBranch.cpp:1.11 Thu Nov 20 11:45:12 2003
+++ llvm/lib/VMCore/iBranch.cpp Thu Nov 20 12:11:56 2003
@@ -23,7 +23,10 @@
assert(0 && "ReturnInst has no successors!");
}
-
+// Likewise for UnwindInst
+void UnwindInst::setSuccessor(unsigned idx, BasicBlock *NewSucc) {
+ assert(0 && "UnwindInst has no successors!");
+}
BranchInst::BranchInst(BasicBlock *True, BasicBlock *False, Value *Cond,
Instruction *InsertBefore)
More information about the llvm-commits
mailing list