[llvm-commits] CVS: llvm/include/llvm/Instructions.h
Chris Lattner
sabre at nondot.org
Mon Feb 12 17:04:22 PST 2007
Changes in directory llvm/include/llvm:
Instructions.h updated: 1.55 -> 1.56
---
Log message:
Add invokeinst and callinst ctors that don't take vectors.
---
Diffs of the changes: (+12 -1)
Instructions.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.55 llvm/include/llvm/Instructions.h:1.56
--- llvm/include/llvm/Instructions.h:1.55 Mon Feb 12 18:58:44 2007
+++ llvm/include/llvm/Instructions.h Mon Feb 12 19:04:01 2007
@@ -695,6 +695,11 @@
void init(Value *Func);
public:
+ CallInst(Value *F, Value* const *Args, unsigned NumArgs,
+ const std::string &Name = "", Instruction *InsertBefore = 0);
+ CallInst(Value *F, Value *const *Args, unsigned NumArgs,
+ const std::string &Name, BasicBlock *InsertAtEnd);
+
CallInst(Value *F, const std::vector<Value*> &Par,
const std::string &Name = "", Instruction *InsertBefore = 0);
CallInst(Value *F, const std::vector<Value*> &Par,
@@ -1479,7 +1484,7 @@
class InvokeInst : public TerminatorInst {
InvokeInst(const InvokeInst &BI);
void init(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException,
- const std::vector<Value*> &Params);
+ Value* const *Args, unsigned NumArgs);
public:
InvokeInst(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException,
const std::vector<Value*> &Params, const std::string &Name = "",
@@ -1487,6 +1492,12 @@
InvokeInst(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException,
const std::vector<Value*> &Params, const std::string &Name,
BasicBlock *InsertAtEnd);
+ InvokeInst(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException,
+ Value* const* Args, unsigned NumArgs, const std::string &Name = "",
+ Instruction *InsertBefore = 0);
+ InvokeInst(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException,
+ Value* const* Args, unsigned NumArgs, const std::string &Name,
+ BasicBlock *InsertAtEnd);
~InvokeInst();
virtual InvokeInst *clone() const;
More information about the llvm-commits
mailing list