Adjust to user changes.

llvm-svn: 19886
This commit is contained in:
Chris Lattner 2005-01-29 00:32:00 +00:00
parent 4921cdf9c0
commit 9d8da6a9f4
1 changed files with 3 additions and 4 deletions

View 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: