forked from OSchip/llvm-project
Add multiple value return instruction constructor.
llvm-svn: 49374
This commit is contained in:
parent
57d3a36386
commit
3d840ded0d
|
@ -96,6 +96,10 @@ public:
|
|||
ReturnInst *CreateRet(Value *V) {
|
||||
return Insert(ReturnInst::Create(V));
|
||||
}
|
||||
|
||||
ReturnInst *CreateRet(Value * const* retVals, unsigned N) {
|
||||
return Insert(ReturnInst::Create(retVals, N));
|
||||
}
|
||||
|
||||
/// CreateBr - Create an unconditional 'br label X' instruction.
|
||||
BranchInst *CreateBr(BasicBlock *Dest) {
|
||||
|
|
Loading…
Reference in New Issue