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/Trace.cpp b/lib/Analysis/Trace.cpp
index 91c7ffa..d045755 100644
--- a/lib/Analysis/Trace.cpp
+++ b/lib/Analysis/Trace.cpp
@@ -38,7 +38,7 @@
for (const_iterator i = begin(), e = end(); i != e; ++i) {
O << "; ";
if (O.stream())
- WriteAsOperand(*O.stream(), *i, true, true, getModule());
+ WriteAsOperand(*O.stream(), *i, true, getModule());
O << "\n";
}
O << "; Trace parent function: \n" << *F;