[Scummvm-cvs-logs] SF.net SVN: scummvm:[50663] tools/branches/gsoc2010-decompiler/decompiler/ control_flow.cpp
pidgeot at users.sourceforge.net
pidgeot at users.sourceforge.net
Mon Jul 5 02:04:18 CEST 2010
Revision: 50663
http://scummvm.svn.sourceforge.net/scummvm/?rev=50663&view=rev
Author: pidgeot
Date: 2010-07-05 00:04:18 +0000 (Mon, 05 Jul 2010)
Log Message:
-----------
Style fixes.
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-05 00:02:59 UTC (rev 50662)
+++ tools/branches/gsoc2010-decompiler/decompiler/control_flow.cpp 2010-07-05 00:04:18 UTC (rev 50663)
@@ -332,7 +332,7 @@
for (cursor = from; cursor->_next != NULL && cursor != to; cursor = cursor->_next) {
if (cursor->_type == condGr->_type) {
OutEdgeRange oerValidate = boost::out_edges(find(cursor->_start), _g);
- for (OutEdgeIterator oeValidate = oerValidate.first; oeValidate != oerValidate.second; oeValidate++) {
+ for (OutEdgeIterator oeValidate = oerValidate.first; oeValidate != oerValidate.second; ++oeValidate) {
GraphVertex vValidate = boost::target(*oeValidate, _g);
Group *gValidate = GET(vValidate);
// For all other loops of same type found in range, all targets must fall within that range
@@ -340,7 +340,7 @@
return false;
InEdgeRange ierValidate = boost::in_edges(vValidate, _g);
- for (InEdgeIterator ieValidate = ierValidate.first; ieValidate != ierValidate.second; ieValidate++) {
+ for (InEdgeIterator ieValidate = ierValidate.first; ieValidate != ierValidate.second; ++ieValidate) {
Group *igValidate = GET(boost::source(*ieValidate, _g));
// All loops of other type going into range must be placed within range
if (igValidate->_type == ogt && (igValidate->_start->_address < from->_start->_address || igValidate->_start->_address > to->_start->_address ))
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