Remove obsolete method
[oota-llvm.git] / lib / VMCore / iBranch.cpp
index 1a169c6d0ef27dbfa4ee9248ab5922f721883306..78951b2965d09bec000ee0d1d96e57da4945ae2a 100644 (file)
@@ -23,7 +23,10 @@ void ReturnInst::setSuccessor(unsigned idx, BasicBlock *NewSucc) {
   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)