diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-05 01:37:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-05 01:37:58 +0000 |
commit | 905547b02bd45f0997521533bf3cf474647ac095 (patch) | |
tree | 3f8828d65da14030c4930daf463e334467843393 /lib/VMCore | |
parent | 8f0d40392658fd1ccc057198bd5a6f1c85be5425 (diff) |
Initialize new field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Value.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<Constant>(this) && !isa<BasicBlock>(this)) assert((Ty->isFirstClassType() || Ty == Type::VoidTy || isa<OpaqueType>(ty)) && |