recordDefinition

fun recordDefinition(writer: L2WriteOperand<*>)

Record the fact that an L2Instruction has been emitted, which writes to the given L2WriteOperand. Since this is the introduction of a new L2SemanticValue, it must not yet be in this manifest.

L2Operations that move values between semantic values should customize their L2Operation.instructionWasAdded method to use recordDefinitionForMove.

Parameters

writer

The operand that received the value.