addInstruction

fun addInstruction(operation: L2Operation, vararg operands: L2Operand): Unit?

Create and add an L2Instruction with the given L2Operation and variable number of L2Operands.

Parameters

operation

The operation to invoke.

operands

The operands of the instruction.


fun addInstruction(instruction: L2Instruction): Unit?

Add an L2Instruction.

Parameters

instruction

The instruction to add.