[llvm-commits] CVS: llvm/utils/TableGen/TableGen.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Feb 5 21:20:02 PST 2004


Changes in directory llvm/utils/TableGen:

TableGen.cpp updated: 1.23 -> 1.24

---
Log message:

Print the record NAME not the record ADDRESS


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

Index: llvm/utils/TableGen/TableGen.cpp
diff -u llvm/utils/TableGen/TableGen.cpp:1.23 llvm/utils/TableGen/TableGen.cpp:1.24
--- llvm/utils/TableGen/TableGen.cpp:1.23	Tue Nov 11 16:41:34 2003
+++ llvm/utils/TableGen/TableGen.cpp	Thu Feb  5 21:19:17 2004
@@ -467,7 +467,7 @@
     {
       std::vector<Record*> Recs = Records.getAllDerivedDefinitions(Class);
       for (unsigned i = 0, e = Recs.size(); i != e; ++i)
-        *Out << Recs[i] << ", ";
+        *Out << Recs[i]->getName() << ", ";
       *Out << "\n";
       break;
     }





More information about the llvm-commits mailing list