Add multiple value return instruction constructor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2008-04-08 07:30:13 +00:00
parent 92432a8db1
commit 7518583044

View File

@ -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) {