[llvm-commits] CVS: llvm/include/llvm/iTerminators.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 10 18:56:01 PDT 2002
Changes in directory llvm/include/llvm:
iTerminators.h updated: 1.23 -> 1.24
---
Log message:
Add convenience ctor to BranchInst
---
Diffs of the changes:
Index: llvm/include/llvm/iTerminators.h
diff -u llvm/include/llvm/iTerminators.h:1.23 llvm/include/llvm/iTerminators.h:1.24
--- llvm/include/llvm/iTerminators.h:1.23 Tue Sep 10 10:36:11 2002
+++ llvm/include/llvm/iTerminators.h Tue Sep 10 18:54:56 2002
@@ -69,8 +69,9 @@
BranchInst(const BranchInst &BI);
public:
// If cond = null, then is an unconditional br...
- BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse = 0, Value *cond = 0,
+ BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *cond = 0,
Instruction *InsertBefore = 0);
+ BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore = 0);
virtual Instruction *clone() const { return new BranchInst(*this); }
More information about the llvm-commits
mailing list