From 16f7993e0df4bd0727f8535bd47a2776bec10545 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 21 Nov 2010 08:05:25 +0000 Subject: [PATCH] the getLocationForSource/Dest methods can be static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119929 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/AliasAnalysis.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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