Changes in directory llvm/lib/Analysis/DataStructure:

Printer.cpp updated: 1.88 -> 1.89
---
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:  (+2 -2)

 Printer.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Analysis/DataStructure/Printer.cpp
diff -u llvm/lib/Analysis/DataStructure/Printer.cpp:1.88 
llvm/lib/Analysis/DataStructure/Printer.cpp:1.89
--- llvm/lib/Analysis/DataStructure/Printer.cpp:1.88    Tue Nov 28 18:19:40 2006
+++ llvm/lib/Analysis/DataStructure/Printer.cpp Wed Dec  6 00:16:21 2006
@@ -81,7 +81,7 @@
   if (G) GlobalECs = &G->getGlobalECs();
 
   for (unsigned i = 0, e = N->getGlobalsList().size(); i != e; ++i) {
-    WriteAsOperand(OS, N->getGlobalsList()[i], false, true, M);
+    WriteAsOperand(OS, N->getGlobalsList()[i], false, M);
 
     // Figure out how many globals are equivalent to this one.
     if (GlobalECs) {
@@ -157,7 +157,7 @@
     for (DSGraph::ScalarMapTy::const_iterator I = VM.begin(); I != 
VM.end();++I)
       if (!isa<GlobalValue>(I->first)) {
         std::stringstream OS;
-        WriteAsOperand(OS, I->first, false, true, CurMod);
+        WriteAsOperand(OS, I->first, false, CurMod);
         GW.emitSimpleNode(I->first, "", OS.str());
 
         // Add edge from return node to real destination



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to