primitiveResultRegister

open override fun primitiveResultRegister(instruction: L2Instruction): L2WriteBoxedOperand?

If this instruction is an attempt to execute a primitive, answer the register into which the primitive's result will be written if successful. Otherwise answer null.

Return

The register into which the primitive attempted by this instruction will write its result, or null if the instruction isn't an attempt to run a primitive.

Parameters

instruction

The L2Instruction for which the receiver is the L2Operation.