aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-29 00:32:00 +0000
committerChris Lattner <sabre@nondot.org>2005-01-29 00:32:00 +0000
commit519ccafc180df2f39c5b04593c8c9d5c9f5e4207 (patch)
treea18b1b0aaeb25b1ed0d6aae2315a4985944752bb /include/llvm/Constant.h
parent454928eda40aa813772ab43f10703851fa6a97c2 (diff)
downloadexternal_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.h7
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: