Added protos for two alternate, convenient CallInst constructors.
authorJoel Stanley <jstanley@cs.uiuc.edu>
Sat, 1 Feb 2003 00:41:27 +0000 (00:41 +0000)
committerJoel Stanley <jstanley@cs.uiuc.edu>
Sat, 1 Feb 2003 00:41:27 +0000 (00:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5453 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/iOther.h

index b8a2ee433a04df6cda3098a741d5b6fb23504bad..026134f2763bc8a927670e4cc76c5d6dce52428b 100644 (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; }