[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp

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



Changes in directory llvm/lib/VMCore:

Verifier.cpp updated: 1.168 -> 1.169
---
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)

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


Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.168 llvm/lib/VMCore/Verifier.cpp:1.169
--- llvm/lib/VMCore/Verifier.cpp:1.168	Mon Nov 27 20:09:03 2006
+++ llvm/lib/VMCore/Verifier.cpp	Wed Dec  6 00:16:21 2006
@@ -218,7 +218,7 @@
       if (isa<Instruction>(V)) {
         msgs << *V;
       } else {
-        WriteAsOperand (msgs, V, true, true, Mod);
+        WriteAsOperand(msgs, V, true, Mod);
         msgs << "\n";
       }
     }






More information about the llvm-commits mailing list