diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index fcf0b7a4c4a..0478a2ffb61 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -28,9 +28,8 @@ static inline const Type *checkType(const Type *Ty) { return Ty; } -Value::Value(const Type *ty, ValueTy vty, const std::string &name) - : Name(name), Ty(checkType(ty)) { - VTy = vty; +Value::Value(const Type *ty, unsigned scid, const std::string &name) + : SubclassID(scid), Ty(checkType(ty)), Name(name) { } Value::~Value() {