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

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Fri Aug 13 01:50:20 CEST 2010


Revision: 52050
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52050&view=rev
Author:   pidgeot
Date:     2010-08-12 23:50:20 +0000 (Thu, 12 Aug 2010)

Log Message:
-----------
DECOMPILER: Explain why short-circuit detection
is disabled

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-12 23:31:59 UTC (rev 52049)
+++ tools/branches/gsoc2010-decompiler/decompiler/control_flow.cpp	2010-08-12 23:50:20 UTC (rev 52050)
@@ -337,6 +337,10 @@
 		merge(cur, next);
 	}
 
+	// FIXME: The short-circuit detection is disabled because short-circuited groups require some special handling
+	// in the code generation. It's not entirely clear how to handle it properly, though: you need to deduce which
+	// effect is created by the conditional jumps in the middle of a block, which seems to get fairly complex when
+	// you have multiple groups that are merged by the short-circuit detection.
 	//detectShortCircuit();
 }
 


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