From: Joel Stanley Date: Sat, 1 Feb 2003 00:41:27 +0000 (+0000) Subject: Added protos for two alternate, convenient CallInst constructors. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0eea1d5b7e798f797d462b760074cc8102437177;p=llvm Added protos for two alternate, convenient CallInst constructors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5453 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/iOther.h b/include/llvm/iOther.h index b8a2ee433a0..026134f2763 100644 --- a/include/llvm/iOther.h +++ b/include/llvm/iOther.h @@ -53,6 +53,12 @@ public: CallInst(Value *F, const std::vector &Par, const std::string &Name = "", Instruction *InsertBefore = 0); + // Alternate CallInst ctors; no actuals one actual, respectively. + CallInst(Value *F, const std::string &Name = "", + Instruction *InsertBefore = 0); + CallInst(Value *F, Value *Actual, const std::string& Name = "", + Instruction* InsertBefore = 0); + virtual Instruction *clone() const { return new CallInst(*this); } bool hasSideEffects() const { return true; }