[Scummvm-cvs-logs] SF.net SVN: scummvm:[51760] tools/branches/gsoc2010-decompiler/decompiler/ control_flow.cpp
pidgeot at users.sourceforge.net
pidgeot at users.sourceforge.net
Thu Aug 5 19:33:06 CEST 2010
Revision: 51760
http://scummvm.svn.sourceforge.net/scummvm/?rev=51760&view=rev
Author: pidgeot
Date: 2010-08-05 17:33:06 +0000 (Thu, 05 Aug 2010)
Log Message:
-----------
Re-insert check for existing function
Modified Paths:
--------------
tools/branches/gsoc2010-decompiler/decompiler/control_flow.cpp
Modified: tools/branches/gsoc2010-decompiler/decompiler/control_flow.cpp
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/control_flow.cpp 2010-08-05 17:29:16 UTC (rev 51759)
+++ tools/branches/gsoc2010-decompiler/decompiler/control_flow.cpp 2010-08-05 17:33:06 UTC (rev 51760)
@@ -163,6 +163,9 @@
GraphVertex v = find(it);
GroupPtr gr = GET(v);
+ if (_engine->_functions.find(it->_address) != _engine->_functions.end())
+ continue;
+
InEdgeRange ier = boost::in_edges(v, _g);
bool isEntryPoint = true;
for (InEdgeIterator e = ier.first; e != ier.second; ++e) {
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