[llvm-commits] [llvm] r119929 - /llvm/trunk/include/llvm/Analysis/AliasAnalysis.h

Chris Lattner sabre at nondot.org
Sun Nov 21 00:05:25 PST 2010


Author: lattner
Date: Sun Nov 21 02:05:25 2010
New Revision: 119929

URL: http://llvm.org/viewvc/llvm-project?rev=119929&view=rev
Log:
the getLocationForSource/Dest methods can be static.

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

Modified: llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasAnalysis.h?rev=119929&r1=119928&r2=119929&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/AliasAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/AliasAnalysis.h Sun Nov 21 02:05:25 2010
@@ -136,8 +136,8 @@
   Location getLocation(const LoadInst *LI);
   Location getLocation(const StoreInst *SI);
   Location getLocation(const VAArgInst *VI);
-  Location getLocationForSource(const MemTransferInst *MTI);
-  Location getLocationForDest(const MemTransferInst *MTI);
+  static Location getLocationForSource(const MemTransferInst *MTI);
+  static Location getLocationForDest(const MemTransferInst *MTI);
 
   /// Alias analysis result - Either we know for sure that it does not alias, we
   /// know for sure it must alias, or we don't know anything: The two pointers





More information about the llvm-commits mailing list