public static int getALoadReg ( DismantleBytecode dbc , int seen ) { if ( seen == Const . ALOAD ) { return dbc . getRegisterOperand ( ) ; } if ( OpcodeUtils . isALoad ( seen ) ) { return seen - Const . ALOAD_0 ; } return - 1 ; }
returns the register used to load a reference