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

Dan Gohman gohman at apple.com
Sun Dec 7 13:33:27 PST 2008


Author: djg
Date: Sun Dec  7 15:33:27 2008
New Revision: 60678

URL: http://llvm.org/viewvc/llvm-project?rev=60678&view=rev
Log:
Use bool instead of int, now that it no longer evokes a warning.

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=60678&r1=60677&r2=60678&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Sun Dec  7 15:33:27 2008
@@ -153,7 +153,7 @@
   private:
     /// ValueIsLoadPair - This is a pair<Value*, bool> where the bool is true if
     /// the dependence is a read only dependence, false if read/write.
-    typedef PointerIntPair<Value*, 1, int> ValueIsLoadPair;
+    typedef PointerIntPair<Value*, 1, bool> ValueIsLoadPair;
     
     /// CachedNonLocalPointerInfo - This map stores the cached results of doing
     /// a pointer lookup at the bottom of a block.  The key of this map is the





More information about the llvm-commits mailing list