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

Chris Lattner lattner at cs.uiuc.edu
Sun Jun 27 13:02:09 PDT 2004


Changes in directory llvm/include/llvm:

User.h updated: 1.29 -> 1.30

---
Log message:

Make ctor inline, change ValueTy ->unsigned


---
Diffs of the changes:  (+2 -1)

Index: llvm/include/llvm/User.h
diff -u llvm/include/llvm/User.h:1.29 llvm/include/llvm/User.h:1.30
--- llvm/include/llvm/User.h:1.29	Sat Jun 26 15:51:50 2004
+++ llvm/include/llvm/User.h	Sun Jun 27 13:01:15 2004
@@ -29,7 +29,8 @@
 protected:
   std::vector<Use> Operands;
 public:
-  User(const Type *Ty, ValueTy vty, const std::string &name = "");
+  User(const Type *Ty, unsigned vty, const std::string &name = "")
+    : Value(Ty, vty, name) {}
 
   inline Value *getOperand(unsigned i) { 
     assert(i < Operands.size() && "getOperand() out of range!");





More information about the llvm-commits mailing list