objectArray

fun objectArray(    method: MethodVisitor,     operands: List<L2ReadBoxedOperand>,     arrayClass: Class<out A_BasicObject>)

Emit code to store each of the L2BoxedRegisters into a new array. Leave the new array on top of the stack.

Parameters

method

The method into which the generated JVM instructions will be written.

operands

The L2ReadBoxedOperands that hold the registers.

arrayClass

The element type of the new array.