From bea77bb6e82e7f7feae71b2cafea4f6a9f6098c0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 22 Sep 2010 22:18:07 +0000 Subject: [PATCH] Fix uninitialized TBAAFlag field values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114591 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/MemoryDependenceAnalysis.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h index dc5aadf6d58..0a3a13ede3e 100644 --- a/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -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