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:
9e6161c
)
Add convenience ctor to BranchInst
author
Chris Lattner
<sabre@nondot.org>
Tue, 10 Sep 2002 23:54:56 +0000
(23:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 10 Sep 2002 23:54:56 +0000
(23:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3675
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/iTerminators.h
patch
|
blob
|
history
diff --git
a/include/llvm/iTerminators.h
b/include/llvm/iTerminators.h
index adf67abe45de5972df318f29d2512c9336cf5bdf..85c2c8b4efdf986537f14db64e6613473349a6a5 100644
(file)
--- a/
include/llvm/iTerminators.h
+++ b/
include/llvm/iTerminators.h
@@
-69,8
+69,9
@@
class BranchInst : public TerminatorInst {
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); }