From: Devang Patel Date: Tue, 8 Apr 2008 07:30:13 +0000 (+0000) Subject: Add multiple value return instruction constructor. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=751858304488f40ea4632c0b217799df159b15cd;p=oota-llvm.git Add multiple value return instruction constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49374 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/LLVMBuilder.h b/include/llvm/Support/LLVMBuilder.h index c82bfd7b185..22d607792a1 100644 --- a/include/llvm/Support/LLVMBuilder.h +++ b/include/llvm/Support/LLVMBuilder.h @@ -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) {