[Fb-contrib-commit] SF.net SVN: fb-contrib: [412] trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/det
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-04-08 14:10:12
|
Revision: 412 Author: dbrosius Date: 2006-04-08 07:10:00 -0700 (Sat, 08 Apr 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=412&view=rev Log Message: ----------- javadoc Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FloatingPointLoops.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FloatingPointLoops.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FloatingPointLoops.java 2006-04-07 16:25:09 UTC (rev 411) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FloatingPointLoops.java 2006-04-08 14:10:00 UTC (rev 412) @@ -64,11 +64,21 @@ return super.clone(); } + /** + * implements the visitor to clear the forLoops set + * + * @param obj the context object for the currently parsed method + */ @Override public void visitMethod(Method obj) { forLoops.clear(); } + /** + * implements the visitor to find for loops using floating point indexes + * + * @param seen the opcode of the currently parsed instruction + */ @Override public void sawOpcode(int seen) { if (forLoops.size() > 0) { @@ -87,6 +97,9 @@ forLoops.add(new FloatForLoop(seen - DLOAD_0, getPC())); } + /** + * maintains the state of a previously found for loop + */ public class FloatForLoop { private int state; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |