Fix uninitialized TBAAFlag field values.
authorDan Gohman <gohman@apple.com>
Wed, 22 Sep 2010 22:18:07 +0000 (22:18 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 22 Sep 2010 22:18:07 +0000 (22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114591 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/MemoryDependenceAnalysis.h

index dc5aadf6d58a540aac391a37ce4f57594d7009b3..0a3a13ede3e96a9131dc6ac3c61ea7ee86e03cb8 100644 (file)
@@ -231,6 +231,8 @@ namespace llvm {
       /// TBAATag - The TBAA tag associated with dereferences of the
       /// pointer. May be null if there are no tags or conflicting tags.
       MDNode *TBAATag;
+
+      NonLocalPointerInfo() : TBAATag(0) {}
     };
 
     /// CachedNonLocalPointerInfo - This map stores the cached results of doing