projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92432a8
)
Add multiple value return instruction constructor.
author
Devang Patel
<dpatel@apple.com>
Tue, 8 Apr 2008 07:30:13 +0000
(07:30 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 8 Apr 2008 07:30:13 +0000
(07:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49374
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/LLVMBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/LLVMBuilder.h
b/include/llvm/Support/LLVMBuilder.h
index c82bfd7b185be035f7e7b39c6ed21c8f5ff79887..22d607792a10255b6e10f92243c17d5f24d84c15 100644
(file)
--- 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) {