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

Chris Lattner lattner at cs.uiuc.edu
Fri Jan 28 16:33:13 PST 2005



Changes in directory llvm/include/llvm:

Instruction.h updated: 1.62 -> 1.63
---
Log message:

Adjust to changes in the User class.


---
Diffs of the changes:  (+4 -4)

 Instruction.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.62 llvm/include/llvm/Instruction.h:1.63
--- llvm/include/llvm/Instruction.h:1.62	Mon Nov 29 20:51:41 2004
+++ llvm/include/llvm/Instruction.h	Fri Jan 28 18:33:00 2005
@@ -36,7 +36,6 @@
   friend class SymbolTableListTraits<Instruction, BasicBlock, Function,
                                      ilist_traits<Instruction> >;
   void setParent(BasicBlock *P);
-  void init();
 
 private:
   // FIXME: This is a dirty hack.  Setcc instructions shouldn't encode the CC
@@ -44,10 +43,11 @@
   void setOpcode(unsigned NewOpcode);
   friend class BinaryOperator;
 protected:
-  Instruction(const Type *Ty, unsigned iType, const std::string &Name = "",
+  Instruction(const Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
+              const std::string &Name = "",
               Instruction *InsertBefore = 0);
-  Instruction(const Type *Ty, unsigned iType, const std::string &Name,
-              BasicBlock *InsertAtEnd);
+  Instruction(const Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
+              const std::string &Name, BasicBlock *InsertAtEnd);
 public:
 
   ~Instruction() {






More information about the llvm-commits mailing list