@ Override public void sawOpcode ( int seen ) { if ( ! forLoops . isEmpty ( ) ) { Iterator < FloatForLoop > ffl = forLoops . iterator ( ) ; while ( ffl . hasNext ( ) ) { if ( ! ffl . next ( ) . sawOpcode ( seen ) ) { ffl . remove ( ) ; } } } if ( OpcodeUtils . isFLoad ( seen ) || OpcodeUtils . isDLoad ( seen ) ) { forLoops . add ( new FloatForLoop ( RegisterUtils . getLoadReg ( this , seen ) , getPC ( ) ) ) ; } }
implements the visitor to find for loops using floating point indexes