private int newLocal ( Type type , String typeDesc , Label begin , Label end ) { int newVar = lvs . newLocal ( type ) ; getLocalScopes ( ) . add ( new VariableScope ( newVar , begin , end , typeDesc ) ) ; return newVar ; }
Helper method to allocate a new local variable and account for its scope .