the getLocationForSource/Dest methods can be static.

llvm-svn: 119929
This commit is contained in:
Chris Lattner 2010-11-21 08:05:25 +00:00
parent a39a40d351
commit 0d1afc82b2

View File

@ -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