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

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



Changes in directory llvm/include/llvm:

Constant.h updated: 1.19 -> 1.20
---
Log message:

Adjust to user changes.


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

 Constant.h |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Index: llvm/include/llvm/Constant.h
diff -u llvm/include/llvm/Constant.h:1.19 llvm/include/llvm/Constant.h:1.20
--- llvm/include/llvm/Constant.h:1.19	Fri Nov 19 10:39:04 2004
+++ llvm/include/llvm/Constant.h	Fri Jan 28 18:32:00 2005
@@ -20,10 +20,9 @@
 
 class Constant : public User {
 protected:
-  inline Constant(const Type *Ty, ValueTy vty = Value::SimpleConstantVal, 
-                  const std::string& Name = "")
-  : User(Ty, vty, Name) {}
-  ~Constant() {}
+  Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
+           const std::string& Name = "")
+    : User(Ty, vty, Ops, NumOps, Name) {}
 
   void destroyConstantImpl();
 public:






More information about the llvm-commits mailing list