[llvm-commits] [TV] r79360 - /television/trunk/tools/llvm-tv/TVTreeItem.cpp
Misha Brukman
brukman+llvm at gmail.com
Tue Aug 18 12:58:30 PDT 2009
Author: brukman
Date: Tue Aug 18 14:58:30 2009
New Revision: 79360
URL: http://llvm.org/viewvc/llvm-project?rev=79360&view=rev
Log:
Properly print out the Module to text.
Modified:
television/trunk/tools/llvm-tv/TVTreeItem.cpp
Modified: television/trunk/tools/llvm-tv/TVTreeItem.cpp
URL: http://llvm.org/viewvc/llvm-project/television/trunk/tools/llvm-tv/TVTreeItem.cpp?rev=79360&r1=79359&r2=79360&view=diff
==============================================================================
--- television/trunk/tools/llvm-tv/TVTreeItem.cpp (original)
+++ television/trunk/tools/llvm-tv/TVTreeItem.cpp Tue Aug 18 14:58:30 2009
@@ -13,8 +13,7 @@
}
void TVTreeModuleItem::print(std::ostream &os) {
- // TODO: update to current LLVM API.
- //myModule->print(os);
+ os << *myModule;
}
void TVTreeFunctionItem::print(std::ostream &os) {
More information about the llvm-commits
mailing list