[Fb-contrib-commit] SF.net SVN: fb-contrib:[1156] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2009-04-11 14:24:34
|
Revision: 1156 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1156&view=rev Author: dbrosius Date: 2009-04-11 14:24:32 +0000 (Sat, 11 Apr 2009) Log Message: ----------- add more opcodes that clear allocation regs Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnnecessaryNewNullCheck.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnnecessaryNewNullCheck.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnnecessaryNewNullCheck.java 2009-04-11 14:21:42 UTC (rev 1155) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnnecessaryNewNullCheck.java 2009-04-11 14:24:32 UTC (rev 1156) @@ -135,6 +135,8 @@ allocationRegs.clear(); break; + case TABLESWITCH: + case LOOKUPSWITCH: case IRETURN: case LRETURN: case FRETURN: @@ -143,6 +145,7 @@ case RETURN: case GOTO: case GOTO_W: + case ATHROW: allocationRegs.clear(); break; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |