Part of patch for XALANJ-1324 and others.

Created a new method on ClassGenerator.addMethod(MethodGenerator), which
deals with the fact that method splitting and outlining could create more than
one method from a single MethodGenerator object.  References to
ClassGenerator.addMethod(Method) are generally replaced with references to the
method with the new signature.

Also, in the cases of some classes, applied changes to accurately annotate
LocalVariableGen objects with the range of instructions over which the
variable is actually alive in support of method splitting and outlining.

See org.apache.xalan.xsltc.compiler.ClassGenerator and
org.apache.xalan.xsltc.compiler.MethodGenerator for more information. 

Patch reviewed by Christine Li and Erin Harris.

8 files changed