[llvm-commits] CVS: llvm/include/llvm/iOther.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Jul 16 05:04:38 PDT 2004
Changes in directory llvm/include/llvm:
iOther.h updated: 1.46 -> 1.47
---
Log message:
Add convinience constructor for function calls with two args.
---
Diffs of the changes: (+7 -1)
Index: llvm/include/llvm/iOther.h
diff -u llvm/include/llvm/iOther.h:1.46 llvm/include/llvm/iOther.h:1.47
--- llvm/include/llvm/iOther.h:1.46 Wed May 26 19:15:23 2004
+++ llvm/include/llvm/iOther.h Fri Jul 16 07:04:28 2004
@@ -70,6 +70,7 @@
class CallInst : public Instruction {
CallInst(const CallInst &CI);
void init(Value *Func, const std::vector<Value*> &Params);
+ void init(Value *Func, Value *Actual1, Value *Actual2);
void init(Value *Func, Value *Actual);
void init(Value *Func);
@@ -79,7 +80,12 @@
CallInst(Value *F, const std::vector<Value*> &Par,
const std::string &Name, BasicBlock *InsertAtEnd);
- // Alternate CallInst ctors w/ one actual & no actuals, respectively.
+ // Alternate CallInst ctors w/ two actuals, w/ one actual and no
+ // actuals, respectively.
+ CallInst(Value *F, Value *Actual1, Value *Actual2,
+ const std::string& Name = "", Instruction *InsertBefore = 0);
+ CallInst(Value *F, Value *Actual1, Value *Actual2,
+ const std::string& Name, BasicBlock *InsertAtEnd);
CallInst(Value *F, Value *Actual, const std::string& Name = "",
Instruction *InsertBefore = 0);
CallInst(Value *F, Value *Actual, const std::string& Name,
More information about the llvm-commits
mailing list