[Scummvm-cvs-logs] SF.net SVN: scummvm:[50917] tools/branches/gsoc2010-decompiler/decompiler/ codegen.cpp

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Thu Jul 15 17:01:44 CEST 2010


Revision: 50917
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50917&view=rev
Author:   pidgeot
Date:     2010-07-15 15:01:44 +0000 (Thu, 15 Jul 2010)

Log Message:
-----------
Remove some debug output

Modified Paths:
--------------
    tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp

Modified: tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp	2010-07-15 15:00:37 UTC (rev 50916)
+++ tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp	2010-07-15 15:01:44 UTC (rev 50917)
@@ -50,8 +50,6 @@
 void CodeGenerator::generate(const Graph &g) {
 	_g = g;
 
-	std::cout << boost::format("Got %d vertices.\n") % boost::num_vertices(_g);
-
 	// Find entry point
 	// FIXME: For simplicity, we simply treat the first group as the entry point, because that's how SCUMM works.
 	// This should be changed later to allow for functions etc.
@@ -70,7 +68,6 @@
 	while (!dfsStack.empty()) {
 		DFSEntry e = dfsStack.top();
 		GroupPtr tmp = GET(e.first);
-		std::cout << boost::format("Found instruction at 0x%08x\n") % tmp->_start->_address;
 		dfsStack.pop();
 		_stack = e.second;
 		GraphVertex v = e.first;
@@ -89,9 +86,5 @@
 }
 
 void CodeGenerator::process(GraphVertex v) {
-	GroupPtr p = GET(v);
-	std::cout << boost::format("Processing instruction at 0x%08x\n") % p->_start->_address;
-	std::cout << boost::format("Processing instruction at 0x%08x\n") % p->_end->_address;	
-//	std::cout << "Processing instruction...\n";
 	// TODO
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list