[Fb-contrib-commit] SF.net SVN: fb-contrib: [710] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-12-04 05:34:27
|
Revision: 710 http://svn.sourceforge.net/fb-contrib/?rev=710&view=rev Author: dbrosius Date: 2006-12-03 21:34:26 -0800 (Sun, 03 Dec 2006) Log Message: ----------- if a compound if test is found, update the scope block range 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-04 04:46:31 UTC (rev 709) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java 2006-12-04 05:34:26 UTC (rev 710) @@ -143,6 +143,8 @@ ScopeBlock sb = findScopeBlockWithTarget(rootScopeBlock, getPC(), target); if ((sb != null) && (!sb.isLoop)) { sb.pushUpLoadStores(); + sb.startLocation = getPC(); + sb.finishLocation = target; } else { sb = new ScopeBlock(getPC(), target); rootScopeBlock.addChild(sb); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |