aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0d098a6074..cc73b53b49 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: