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