[llvm-commits] CVS: llvm/include/llvm/iOther.h
Joel Stanley
jstanley at cs.uiuc.edu
Fri Jan 31 18:42:00 PST 2003
Changes in directory llvm/include/llvm:
iOther.h updated: 1.30 -> 1.31
---
Log message:
Added protos for two alternate, convenient CallInst constructors.
---
Diffs of the changes:
Index: llvm/include/llvm/iOther.h
diff -u llvm/include/llvm/iOther.h:1.30 llvm/include/llvm/iOther.h:1.31
--- llvm/include/llvm/iOther.h:1.30 Tue Sep 10 10:36:10 2002
+++ llvm/include/llvm/iOther.h Fri Jan 31 18:41:27 2003
@@ -53,6 +53,12 @@
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; }
More information about the llvm-commits
mailing list