mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Add default value for Args parameter of IRBuilder::CreateCall
Convenient for calls to zero-argument functions. Patch by servuswiegehtz at yahoo.de git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
52ed774c83
commit
0ea5f00226
@ -1464,7 +1464,7 @@ public:
|
||||
return Insert(PHINode::Create(Ty, NumReservedValues), Name);
|
||||
}
|
||||
|
||||
CallInst *CreateCall(Value *Callee, ArrayRef<Value *> Args,
|
||||
CallInst *CreateCall(Value *Callee, ArrayRef<Value *> Args = {},
|
||||
const Twine &Name = "") {
|
||||
return Insert(CallInst::Create(Callee, Args), Name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user