public LocalVariable createLocalParameter ( String name , TypeDesc type ) { LocalVariable var = new LocalVariableImpl ( mLocalVariables . size ( ) , name , type , mNextFixedVariableNumber ) ; mLocalVariables . add ( var ) ; mNextFixedVariableNumber += type . isDoubleWord ( ) ? 2 : 1 ; return var ; }
All parameters must be defined before adding instructions .