diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-29 00:32:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-29 00:32:00 +0000 |
commit | 519ccafc180df2f39c5b04593c8c9d5c9f5e4207 (patch) | |
tree | a18b1b0aaeb25b1ed0d6aae2315a4985944752bb /include/llvm/Constant.h | |
parent | 454928eda40aa813772ab43f10703851fa6a97c2 (diff) | |
download | external_llvm-519ccafc180df2f39c5b04593c8c9d5c9f5e4207.zip external_llvm-519ccafc180df2f39c5b04593c8c9d5c9f5e4207.tar.gz external_llvm-519ccafc180df2f39c5b04593c8c9d5c9f5e4207.tar.bz2 |
Adjust to user changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19886 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r-- | include/llvm/Constant.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index 0d098a6..cc73b53 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: |