From 519ccafc180df2f39c5b04593c8c9d5c9f5e4207 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 29 Jan 2005 00:32:00 +0000 Subject: [PATCH] Adjust to user changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19886 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constant.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index 0d098a60745..cc73b53b497 100644 --- a/include/llvm/Constant.h +++ b/include/llvm/Constant.h @@ -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: