public void set ( @ IndexFor ( { "loc_arr" , "os_arr" } ) int offset , Frame f ) { OperandStack os = f . getStack ( ) ; // logger.info ("stack[" + offset + "] = " + toString(os)); loc_arr [ offset ] = ( LocalVariables ) ( f . getLocals ( ) . clone ( ) ) ; os_arr [ offset ] = ( OperandStack ) ( os . clone ( ) ) ; }
Sets the stack for the instruction at the specified offset to a copy of the information in the given frame .