[llvm-commits] CVS: llvm/lib/Transforms/Scalar/Reassociate.cpp

Chris Lattner sabre at nondot.org
Tue Dec 5 22:16:43 PST 2006



Changes in directory llvm/lib/Transforms/Scalar:

Reassociate.cpp updated: 1.65 -> 1.66
---
Log message:

Remove the 'printname' argument to WriteAsOperand.  It is always true, and
passing false would make the asmprinter fail anyway.


---
Diffs of the changes:  (+1 -1)

 Reassociate.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/Reassociate.cpp
diff -u llvm/lib/Transforms/Scalar/Reassociate.cpp:1.65 llvm/lib/Transforms/Scalar/Reassociate.cpp:1.66
--- llvm/lib/Transforms/Scalar/Reassociate.cpp:1.65	Wed Nov  1 19:53:58 2006
+++ llvm/lib/Transforms/Scalar/Reassociate.cpp	Wed Dec  6 00:16:21 2006
@@ -60,7 +60,7 @@
   std::cerr << Instruction::getOpcodeName(I->getOpcode()) << " "
   << *Ops[0].Op->getType();
   for (unsigned i = 0, e = Ops.size(); i != e; ++i)
-    WriteAsOperand(std::cerr << " ", Ops[i].Op, false, true, M)
+    WriteAsOperand(std::cerr << " ", Ops[i].Op, false, M)
       << "," << Ops[i].Rank;
 }
   






More information about the llvm-commits mailing list