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

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Sun Aug 15 09:55:33 CEST 2010


Revision: 52095
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52095&view=rev
Author:   pidgeot
Date:     2010-08-15 07:55:32 +0000 (Sun, 15 Aug 2010)

Log Message:
-----------
DECOMPILER: Remove accidental blank 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-14 22:11:24 UTC (rev 52094)
+++ tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp	2010-08-15 07:55:32 UTC (rev 52095)
@@ -26,11 +26,6 @@
 #include <algorithm>
 #include <iostream>
 #include <set>
-
-
-
-
-
 #include <boost/format.hpp>
 
 #define GET(vertex) (boost::get(boost::vertex_name, _g, vertex))
@@ -115,69 +110,27 @@
 	return dupEntry;
 }
 
-
 EntryPtr IntEntry::dup(std::ostream &output) {
 	return new IntEntry(_val, _isSigned);
 }
 
-
 std::string CodeGenerator::constructFuncSignature(const Function &func) {
 	return "";
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 std::string CodeGenerator::indentString(std::string s) {
 	std::stringstream stream;
 	stream << std::string(kIndentAmount * _indentLevel, ' ') << s;
 	return stream.str();
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
 CodeGenerator::CodeGenerator(Engine *engine, std::ostream &output, ArgOrder binOrder, ArgOrder callOrder) : _output(output), _binOrder(binOrder), _callOrder(callOrder) {
 	_engine = engine;
 	_indentLevel = 0;
 }
 
-
-
-
-
-
-
 typedef std::pair<GraphVertex, EntryStack> DFSEntry;
 
-
-
-
 void CodeGenerator::generate(const Graph &g) {
 	_g = g;
 
@@ -501,10 +454,6 @@
 	}
 }
 
-
-
-
-
 void CodeGenerator::addArg(EntryPtr p) {
 	if (_callOrder == kFIFOArgOrder)
 		_argList.push_front(p);
@@ -512,10 +461,6 @@
 		_argList.push_back(p);
 }
 
-
-
-
-
 void CodeGenerator::processSpecialMetadata(const Instruction &inst, char c, int pos) {
 	switch (c) {
 		case 'p':
@@ -526,4 +471,3 @@
 			break;
 	}
 }
-


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