[llvm-commits] CVS: llvm/include/llvm/Instructions.h

Chris Lattner sabre at nondot.org
Mon Feb 12 22:22:53 PST 2007



Changes in directory llvm/include/llvm:

Instructions.h updated: 1.56 -> 1.57
---
Log message:

eliminate instruction ctors that take vectors.


---
Diffs of the changes:  (+0 -12)

 Instructions.h |   12 ------------
 1 files changed, 12 deletions(-)


Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.56 llvm/include/llvm/Instructions.h:1.57
--- llvm/include/llvm/Instructions.h:1.56	Mon Feb 12 19:04:01 2007
+++ llvm/include/llvm/Instructions.h	Tue Feb 13 00:22:32 2007
@@ -17,7 +17,6 @@
 #define LLVM_INSTRUCTIONS_H
 
 #include "llvm/InstrTypes.h"
-#include <vector>  // fixme remove.
 
 namespace llvm {
 
@@ -700,11 +699,6 @@
   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,
-           const std::string &Name, BasicBlock *InsertAtEnd);
-
   // Alternate CallInst ctors w/ two actuals, w/ one actual and no
   // actuals, respectively.
   CallInst(Value *F, Value *Actual1, Value *Actual2,
@@ -1487,12 +1481,6 @@
             Value* const *Args, unsigned NumArgs);
 public:
   InvokeInst(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException,
-             const std::vector<Value*> &Params, const std::string &Name = "",
-             Instruction *InsertBefore = 0);
-  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,






More information about the llvm-commits mailing list