L2Instruction

fun L2Instruction(    generator: L2Generator,     operation: L2Operation,     vararg theOperands: L2Operand)

Construct a new L2Instruction. The instruction will be added somewhere within the given L2Generator's current L2BasicBlock.

Parameters

generator

The L2Generator in which this instruction is being regenerated.

operation

The L2Operation that this instruction performs.

theOperands

The array of L2Operands on which this instruction operates. These must agree with the operation's array of L2NamedOperandTypes.


fun L2Instruction(    basicBlock: L2BasicBlock?,     operation: L2Operation,     vararg theOperands: L2Operand)

Construct a new L2Instruction.

Parameters

basicBlock

The L2BasicBlock which will contain this instruction or null if none.

operation

The L2Operation that this instruction performs.

theOperands

The array of L2Operands on which this instruction operates. These must agree with the operation's array of L2NamedOperandTypes.