[Fb-contrib-commit] SF.net SVN: fb-contrib: [894] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/d
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-06-29 05:41:11
|
Revision: 894 http://svn.sourceforge.net/fb-contrib/?rev=894&view=rev Author: dbrosius Date: 2007-06-28 22:41:13 -0700 (Thu, 28 Jun 2007) Log Message: ----------- filter out adds inside conditionals guarded by ifnull and ifnonnull as well. Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseAddAll.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseAddAll.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseAddAll.java 2007-06-27 06:03:27 UTC (rev 893) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseAddAll.java 2007-06-29 05:41:13 UTC (rev 894) @@ -175,7 +175,7 @@ } } } - } else if ((seen > IFEQ) && (seen <= GOTO)) { + } else if (((seen > IFEQ) && (seen <= GOTO)) || (seen == IFNULL) || (seen == IFNONNULL)) { if (getBranchOffset() > 0) { LoopInfo loop = findLoop(getPC()); if (loop != null) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |