public int getNumWordsConsumed ( Instruction ins ) { int numWordsConsumed = ins . consumeStack ( cpg ) ; if ( numWordsConsumed == Const . UNPREDICTABLE ) { throw new InvalidBytecodeException ( "Unpredictable stack consumption" ) ; } return numWordsConsumed ; }
Get the number of words consumed by given instruction .