[Fb-contrib-commit] SF.net SVN: fb-contrib: [732] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-12-17 06:39:27
|
Revision: 732 http://svn.sourceforge.net/fb-contrib/?rev=732&view=rev Author: dbrosius Date: 2006-12-16 22:32:52 -0800 (Sat, 16 Dec 2006) Log Message: ----------- when removing child scopes, always push up the load/stores Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java 2006-12-16 09:06:19 UTC (rev 731) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java 2006-12-17 06:32:52 UTC (rev 732) @@ -195,6 +195,7 @@ if ((sb != null) && (!sb.isLoop) && !sb.hasChildren()) { if (sb.isGoto()) { ScopeBlock parent = sb.getParent(); + sb.pushUpLoadStores(); if (parent != null) parent.removeChild(sb); sb = new ScopeBlock(getPC(), target); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |