[llvm-commits] [llvm] r114591 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Dan Gohman gohman at apple.com
Wed Sep 22 15:18:07 PDT 2010


Author: djg
Date: Wed Sep 22 17:18:07 2010
New Revision: 114591

URL: http://llvm.org/viewvc/llvm-project?rev=114591&view=rev
Log:
Fix uninitialized TBAAFlag field values.

Modified:
    llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h?rev=114591&r1=114590&r2=114591&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Wed Sep 22 17:18:07 2010
@@ -231,6 +231,8 @@
       /// 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





More information about the llvm-commits mailing list