[Scummvm-cvs-logs] SF.net SVN: scummvm:[51262] tools/branches/gsoc2010-decompiler/decompiler/ control_flow.cpp
pidgeot at users.sourceforge.net
pidgeot at users.sourceforge.net
Sat Jul 24 23:55:11 CEST 2010
Revision: 51262
http://scummvm.svn.sourceforge.net/scummvm/?rev=51262&view=rev
Author: pidgeot
Date: 2010-07-24 21:55:10 +0000 (Sat, 24 Jul 2010)
Log Message:
-----------
Fix bug in else detection
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-07-24 21:42:24 UTC (rev 51261)
+++ tools/branches/gsoc2010-decompiler/decompiler/control_flow.cpp 2010-07-24 21:55:10 UTC (rev 51262)
@@ -391,7 +391,7 @@
// ...to later in the code
OutEdgeIterator toe = boost::out_edges(find(targetGr->_prev->_start->_address), _g).first;
GroupPtr targetTargetGr = GET(boost::target(*toe, _g));
- if (targetTargetGr->_start->_address > targetGr->_prev->_end->_address) {
+ if (targetTargetGr->_start->_address > targetGr->_end->_address) {
targetGr->_startElse = true;
targetTargetGr->_prev->_endElse = targetGr.get();
}
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