Add multiple value return instruction constructor.

llvm-svn: 49374
This commit is contained in:
Devang Patel 2008-04-08 07:30:13 +00:00
parent 57d3a36386
commit 3d840ded0d
1 changed files with 4 additions and 0 deletions

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