Initialize HasMetadata to zero.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 17 Sep 2009 14:51:57 +0000 (14:51 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 17 Sep 2009 14:51:57 +0000 (14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82145 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Value.cpp

index 92a5b702cf92fa3e2d71953f22ca23ab736cce8f..dcac01ce47a3b82afd31e92af3bfa9e6510abc2f 100644 (file)
@@ -44,8 +44,8 @@ static inline const Type *checkType(const Type *Ty) {
 }
 
 Value::Value(const Type *ty, unsigned scid)
-  : SubclassID(scid), HasValueHandle(0), SubclassOptionalData(0),
-    SubclassData(0), VTy(checkType(ty)),
+  : SubclassID(scid), HasValueHandle(0), HasMetadata(0),
+    SubclassOptionalData(0), SubclassData(0), VTy(checkType(ty)),
     UseList(0), Name(0) {
   if (isa<CallInst>(this) || isa<InvokeInst>(this))
     assert((VTy->isFirstClassType() ||