diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-21 08:05:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-21 08:05:25 +0000 |
commit | 16f7993e0df4bd0727f8535bd47a2776bec10545 (patch) | |
tree | 78cfffce64839697648220259c5b01fe120ebb6b /include | |
parent | e90c5cb747631b315350e7ee7424048c7778bdf9 (diff) | |
download | external_llvm-16f7993e0df4bd0727f8535bd47a2776bec10545.zip external_llvm-16f7993e0df4bd0727f8535bd47a2776bec10545.tar.gz external_llvm-16f7993e0df4bd0727f8535bd47a2776bec10545.tar.bz2 |
the getLocationForSource/Dest methods can be static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/AliasAnalysis.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h index 007724d..8d7f3a1 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 |