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
This commit is contained in:
Joel Stanley 2003-02-01 00:41:27 +00:00
parent 95e8b1c976
commit 0eea1d5b7e

View File

@ -53,6 +53,12 @@ public:
CallInst(Value *F, const std::vector<Value*> &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; }