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(); for (std::vector<Value *>::iterator I1 = Pointers.begin(), E = Pointers.end();
I1 != E; ++I1) I1 != E; ++I1)
for (std::vector<Value *>::iterator I2 = Pointers.begin(); I2 != I1; ++I2) 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: case AliasAnalysis::NoAlias:
PrintResults("No", PrintNo, *I1, *I2); PrintResults("No", PrintNo, *I1, *I2);
++No; break; ++No; break;