mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Adjust to new AA interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d0a4a4eb8
commit
e4b3339b9c
@ -69,7 +69,7 @@ bool AAEval::runOnFunction(Function &F) {
|
||||
for (std::vector<Value *>::iterator I1 = Pointers.begin(), E = Pointers.end();
|
||||
I1 != E; ++I1)
|
||||
for (std::vector<Value *>::iterator I2 = Pointers.begin(); I2 != I1; ++I2)
|
||||
switch (AA.alias(*I1, *I2)) {
|
||||
switch (AA.alias(*I1, 0, *I2, 0)) {
|
||||
case AliasAnalysis::NoAlias:
|
||||
PrintResults("No", PrintNo, *I1, *I2);
|
||||
++No; break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user