1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Adjust to new AA interface

llvm-svn: 5637
This commit is contained in:
Chris Lattner 2003-02-26 19:29:16 +00:00
parent 92a8816086
commit 4d57299049

View File

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