Adjust to user changes.
authorChris Lattner <sabre@nondot.org>
Sat, 29 Jan 2005 00:32:00 +0000 (00:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 29 Jan 2005 00:32:00 +0000 (00:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19886 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Constant.h

index 0d098a60745b09d04ac5430ec0c67e557b244c53..cc73b53b497cc38ca9cc01e7bcae9cd1c1a56a98 100644 (file)
@@ -20,10 +20,9 @@ namespace llvm {
 
 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: