the getLocationForSource/Dest methods can be static.
authorChris Lattner <sabre@nondot.org>
Sun, 21 Nov 2010 08:05:25 +0000 (08:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 21 Nov 2010 08:05:25 +0000 (08:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119929 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/AliasAnalysis.h

index 007724dd5f7a20ee6264ec6be1dd227f1320f352..8d7f3a1c40f1521e2e420d440fc8e1046647fef5 100644 (file)
@@ -136,8 +136,8 @@ public:
   Location getLocation(const LoadInst *LI);
   Location getLocation(const StoreInst *SI);
   Location getLocation(const VAArgInst *VI);
   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
 
   /// 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