[Fb-contrib-commit] SF.net SVN: fb-contrib:[1667] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2011-06-04 00:13:02
|
Revision: 1667
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1667&view=rev
Author: dbrosius
Date: 2011-06-04 00:12:55 +0000 (Sat, 04 Jun 2011)
Log Message:
-----------
handle IFNULL and IFNONNULL
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 2011-05-05 01:01:17 UTC (rev 1666)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java 2011-06-04 00:12:55 UTC (rev 1667)
@@ -270,7 +270,7 @@
ignoreRegs.add(Integer.valueOf(reg));
}
}
- } else if (((seen >= IFEQ) && (seen <= GOTO)) || (seen == GOTO_W)) {
+ } else if (((seen >= IFEQ) && (seen <= GOTO)) || (seen == IFNULL) || (seen == IFNONNULL) || (seen == GOTO_W)) {
int target = getBranchTarget();
if (target > getPC()) {
if ((seen == GOTO) || (seen == GOTO_W)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|