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
This commit is contained in:
Chris Lattner
2006-12-06 06:16:21 +00:00
parent a6b1ffcfaa
commit 3749c9cae4
8 changed files with 14 additions and 14 deletions

View File

@ -38,7 +38,7 @@ void Trace::print(llvm_ostream &O) const {
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;