mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-12 13:24:29 +00:00
[PM/AA] Remove the Location typedef from the AliasAnalysis class now
that it is its own entity in the form of MemoryLocation, and update all the callers. This is an entirely mechanical change. References to "Location" within AA subclases become "MemoryLocation", and elsewhere "AliasAnalysis::Location" becomes "MemoryLocation". Hope that helps out-of-tree folks update. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239885 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -47,7 +47,7 @@ protected:
|
||||
}
|
||||
bool runOnFunction(Function &) override {
|
||||
AliasAnalysis &AA = getAnalysis<AliasAnalysis>();
|
||||
EXPECT_EQ(AA.getModRefInfo(I, AliasAnalysis::Location()), ExpectResult);
|
||||
EXPECT_EQ(AA.getModRefInfo(I, MemoryLocation()), ExpectResult);
|
||||
EXPECT_EQ(AA.getModRefInfo(I), ExpectResult);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user