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