[Fb-contrib-commit] SF.net SVN: fb-contrib: [703] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-12-03 16:49:48
|
Revision: 703 http://svn.sourceforge.net/fb-contrib/?rev=703&view=rev Author: dbrosius Date: 2006-12-03 08:49:37 -0800 (Sun, 03 Dec 2006) Log Message: ----------- forward branching GOTO or GOTO_W's shouldn't be considered scope definitions 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-03 10:42:28 UTC (rev 702) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java 2006-12-03 16:49:37 UTC (rev 703) @@ -129,6 +129,9 @@ } else if (((seen >= IFEQ) && (seen <= GOTO)) || (seen == GOTO_W)) { int target = getBranchTarget(); if (target > getPC()) { + if ((seen == GOTO) || (seen == GOTO_W)) + return; + ScopeBlock sb = findScopeBlockWithTarget(rootScopeBlock, getPC(), target); if (sb != null) { sb.pushUpLoadStores(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |