aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/AliasAnalysisEvaluator.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-26 19:29:16 +0000
committerChris Lattner <sabre@nondot.org>2003-02-26 19:29:16 +0000
commite4b3339b9cfcbd09b8e50693d351c375df14d68b (patch)
tree2e6b71eee157f8bf1de2196c72ea474c19f5be49 /lib/Analysis/AliasAnalysisEvaluator.cpp
parent2d0a4a4eb88ddc379755f701208dfe4bd1c15055 (diff)
Adjust to new AA interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasAnalysisEvaluator.cpp')
-rw-r--r--lib/Analysis/AliasAnalysisEvaluator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/AliasAnalysisEvaluator.cpp b/lib/Analysis/AliasAnalysisEvaluator.cpp
index 18f36c7aa1..4366ab8509 100644
--- a/lib/Analysis/AliasAnalysisEvaluator.cpp
+++ b/lib/Analysis/AliasAnalysisEvaluator.cpp
@@ -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;