[Fb-contrib-commit] SF.net SVN: fb-contrib: [950] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-11-02 23:16:48
|
Revision: 950 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=950&view=rev Author: dbrosius Date: 2007-11-02 16:16:33 -0700 (Fri, 02 Nov 2007) Log Message: ----------- clear possibleParmRegs on method entry Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConfusingFunctionSemantics.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConfusingFunctionSemantics.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConfusingFunctionSemantics.java 2007-11-02 05:00:22 UTC (rev 949) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConfusingFunctionSemantics.java 2007-11-02 23:16:33 UTC (rev 950) @@ -60,7 +60,7 @@ knownImmutables.add("Ljava/lang/Class;"); }; - private BugReporter bugReporter; + private final BugReporter bugReporter; private Map<Integer, ParmUsage> possibleParmRegs; private OpcodeStack stack; @@ -96,6 +96,7 @@ @Override public void visitCode(Code obj) { try { + possibleParmRegs.clear(); Method m = getMethod(); String methodSignature = m.getSignature(); String retSignature = Type.getReturnType(methodSignature).getSignature(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |