diff options
-rw-r--r-- | include/llvm/Support/LLVMBuilder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/LLVMBuilder.h b/include/llvm/Support/LLVMBuilder.h index c82bfd7b18..22d607792a 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) { |