From: Chris Lattner Date: Sun, 21 Nov 2010 08:05:25 +0000 (+0000) Subject: the getLocationForSource/Dest methods can be static. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=16f7993e0df4bd0727f8535bd47a2776bec10545;p=oota-llvm.git the getLocationForSource/Dest methods can be static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119929 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h index 007724dd5f7..8d7f3a1c40f 100644 --- a/include/llvm/Analysis/AliasAnalysis.h +++ b/include/llvm/Analysis/AliasAnalysis.h @@ -136,8 +136,8 @@ public: 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