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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Aug 24 01:43:32 CEST 2010


Revision: 52315
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52315&view=rev
Author:   lordhoto
Date:     2010-08-23 23:43:32 +0000 (Mon, 23 Aug 2010)

Log Message:
-----------
DECOMPILER: Remove a few empty lines.

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-08-23 23:04:07 UTC (rev 52314)
+++ tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp	2010-08-23 23:43:32 UTC (rev 52315)
@@ -134,15 +134,7 @@
 void CodeGenerator::generate(const Graph &g) {
 	_g = g;
 
-
-
-
-
-
-
-
-	for (FuncMap::iterator fn = _engine->_functions.begin(); fn != _engine->_functions.end(); ++fn)
-	{
+	for (FuncMap::iterator fn = _engine->_functions.begin(); fn != _engine->_functions.end(); ++fn) {
 		_indentLevel = 0;
 		while (!_stack.empty())
 			_stack.pop();
@@ -156,23 +148,8 @@
 			addOutputLine(funcSignature, false, true);
 		}
 
-
-
-
-
-
-
-
 		GroupPtr lastGroup = GET(entryPoint);
 
-
-
-
-
-
-
-
-
 		// DFS from entry point to process each vertex
 		Stack<DFSEntry> dfsStack;
 		std::set<GraphVertex> seen;
@@ -196,26 +173,11 @@
 			}
 		}
 
-
-
-
-
-
-
-
-
-
-
-
 		if (printFuncSignature) {
 			_curGroup = lastGroup;
 			addOutputLine("}", true, false);
 		}
 
-
-
-
-
 		// Print output
 		GroupPtr p = GET(entryPoint);
 		while (p != NULL) {
@@ -223,33 +185,6 @@
 				if (it->_unindentBefore) {
 					assert(_indentLevel > 0);
 					_indentLevel--;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 				}
 				_output << boost::format("%08X: %s") % p->_start->_address % indentString(it->_line) << std::endl;
 				if (it->_indentAfter)


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