From: Chris Lattner Date: Sat, 5 Feb 2005 01:37:58 +0000 (+0000) Subject: Initialize new field. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=905547b02bd45f0997521533bf3cf474647ac095;p=oota-llvm.git Initialize new field. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20044 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index 3547ac581a3..9dc45f267e4 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -31,7 +31,8 @@ static inline const Type *checkType(const Type *Ty) { } Value::Value(const Type *ty, unsigned scid, const std::string &name) - : SubclassID(scid), Ty(checkType(ty)), UseList(0), Name(name) { + : SubclassID(scid), SubclassData(0), Ty(checkType(ty)), + UseList(0), Name(name) { if (!isa(this) && !isa(this)) assert((Ty->isFirstClassType() || Ty == Type::VoidTy || isa(ty)) &&