mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Add multiple value return instruction constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92432a8db1
commit
7518583044
@ -96,6 +96,10 @@ public:
|
|||||||
ReturnInst *CreateRet(Value *V) {
|
ReturnInst *CreateRet(Value *V) {
|
||||||
return Insert(ReturnInst::Create(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.
|
/// CreateBr - Create an unconditional 'br label X' instruction.
|
||||||
BranchInst *CreateBr(BasicBlock *Dest) {
|
BranchInst *CreateBr(BasicBlock *Dest) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user