diff options
author | Joel Stanley <jstanley@cs.uiuc.edu> | 2003-02-01 00:41:27 +0000 |
---|---|---|
committer | Joel Stanley <jstanley@cs.uiuc.edu> | 2003-02-01 00:41:27 +0000 |
commit | 0eea1d5b7e798f797d462b760074cc8102437177 (patch) | |
tree | 364d48e6c87e097dcdc089ebad66828b4eae5ec8 | |
parent | 95e8b1c9760dfdd93964da81d5003762683c61da (diff) |
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
-rw-r--r-- | include/llvm/iOther.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/iOther.h b/include/llvm/iOther.h index b8a2ee433a..026134f276 100644 --- a/include/llvm/iOther.h +++ b/include/llvm/iOther.h @@ -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; } |