Remove the 'printname' argument to WriteAsOperand. It is always true, and
passing false would make the asmprinter fail anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32264 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/AliasAnalysisCounter.cpp b/lib/Analysis/AliasAnalysisCounter.cpp
index 6412dbb..d563c13 100644
--- a/lib/Analysis/AliasAnalysisCounter.cpp
+++ b/lib/Analysis/AliasAnalysisCounter.cpp
@@ -135,9 +135,9 @@
if (PrintAll || (PrintAllFailures && R == MayAlias)) {
llvm_cerr << AliasString << ":\t";
llvm_cerr << "[" << V1Size << "B] ";
- WriteAsOperand(std::cerr, V1, true, true, M) << ", ";
+ WriteAsOperand(std::cerr, V1, true, M) << ", ";
llvm_cerr << "[" << V2Size << "B] ";
- WriteAsOperand(std::cerr, V2, true, true, M) << "\n";
+ WriteAsOperand(std::cerr, V2, true, M) << "\n";
}
return R;
@@ -159,7 +159,7 @@
if (PrintAll || (PrintAllFailures && R == ModRef)) {
llvm_cerr << MRString << ": Ptr: ";
llvm_cerr << "[" << Size << "B] ";
- WriteAsOperand(std::cerr, P, true, true, M);
+ WriteAsOperand(std::cerr, P, true, M);
llvm_cerr << "\t<->" << *CS.getInstruction();
}
return R;