From 9691e71a4fff2e4dd7accb1d174bf995aed4f7fa Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 17 Jul 2009 17:16:59 +0000 Subject: Add a SubclassOptionalData field to Value. See the doxygen comment for details. llvm-svn: 76189 --- llvm/lib/VMCore/Value.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib') diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp index f3d561fe39b..b35ad507984 100644 --- a/llvm/lib/VMCore/Value.cpp +++ b/llvm/lib/VMCore/Value.cpp @@ -40,7 +40,8 @@ static inline const Type *checkType(const Type *Ty) { } Value::Value(const Type *ty, unsigned scid) - : SubclassID(scid), HasValueHandle(0), SubclassData(0), VTy(checkType(ty)), + : SubclassID(scid), HasValueHandle(0), SubclassOptionalData(0), + SubclassData(0), VTy(checkType(ty)), UseList(0), Name(0) { if (isa(this) || isa(this)) assert((VTy->isFirstClassType() || VTy == Type::VoidTy || -- cgit v1.2.3