mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
Add convenience ctor to BranchInst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e6161cfd1
commit
9531c50c75
@ -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); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user