[Scummvm-cvs-logs] SF.net SVN: scummvm:[42341] tools/branches/gsoc2009-decompiler/decompiler/ decompiler.cpp

kjdf at users.sourceforge.net kjdf at users.sourceforge.net
Fri Jul 10 17:11:21 CEST 2009


Revision: 42341
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42341&view=rev
Author:   kjdf
Date:     2009-07-10 15:11:21 +0000 (Fri, 10 Jul 2009)

Log Message:
-----------
decompiler: removed dysfunctional graph interval printing

Modified Paths:
--------------
    tools/branches/gsoc2009-decompiler/decompiler/decompiler.cpp

Modified: tools/branches/gsoc2009-decompiler/decompiler/decompiler.cpp
===================================================================
--- tools/branches/gsoc2009-decompiler/decompiler/decompiler.cpp	2009-07-10 15:10:21 UTC (rev 42340)
+++ tools/branches/gsoc2009-decompiler/decompiler/decompiler.cpp	2009-07-10 15:11:21 UTC (rev 42341)
@@ -22,7 +22,7 @@
 		("check-reducibility", "check if the graph is reducible")
 		("disasm", "print disassembly")
 		("blocks", "print basic blocks")
-		("graph-intervals", value<unsigned>(), "print arg-th graph intervals")
+		//		("graph-intervals", value<unsigned>(), "print arg-th graph intervals")
 		("graph-struct", "print graph with marked structure information")
 		//		("decompile", "print decompiled program and exit")
 		("no-remove-jumps", "don't remove jumps-to-jumps")
@@ -74,13 +74,6 @@
 			cout << phex(dynamic_cast<BasicBlock*>(interval)->_instructions.front()->_addr) << endl;
 		exit(1);
 	}
-	if (vars.count("graph-intervals")) {
-		cfg.assignIntervals();
-		for (unsigned i = 0; i < vars["graph-intervals"].as<unsigned>(); i++)
-			cfg.extendIntervals();
-		cout << cfg.graphvizToString(vars["fontname"].as<string>());
-		exit(0);
-	}
 	if (vars.count("graph-struct")) {
 		cfg.structureLoops();
 		cout << cfg.graphvizToString(vars["fontname"].as<string>());


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