[Scummvm-cvs-logs] SF.net SVN: scummvm:[50623] tools/branches/gsoc2010-decompiler/decompiler/ graph.h

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Sat Jul 3 15:50:53 CEST 2010


Revision: 50623
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50623&view=rev
Author:   pidgeot
Date:     2010-07-03 13:50:52 +0000 (Sat, 03 Jul 2010)

Log Message:
-----------
When outputting graph, add edge pointing to first instruction

Modified Paths:
--------------
    tools/branches/gsoc2010-decompiler/decompiler/graph.h

Modified: tools/branches/gsoc2010-decompiler/decompiler/graph.h
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/graph.h	2010-07-03 12:49:42 UTC (rev 50622)
+++ tools/branches/gsoc2010-decompiler/decompiler/graph.h	2010-07-03 13:50:52 UTC (rev 50623)
@@ -172,6 +172,8 @@
 	 */
 	void operator()(std::ostream& out) const {
 		out << "node [shape=box]" << std::endl;
+		out << "XXX [shape=none, label=\"\", height=0]" << std::endl;
+		out << "XXX -> 0" << std::endl;
 	}
 };
 


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