L2ReadFloatOperand

constructor(semanticValue: L2SemanticValue, restriction: TypeRestriction, manifest: L2ValueManifest)

Construct a new L2ReadFloatOperand for the specified L2SemanticValue and TypeRestriction, using information from the given L2ValueManifest.

Parameters

semanticValue

The L2SemanticValue that is being read when an L2Instruction uses this L2Operand.

restriction

The TypeRestriction to constrain this particular read. This restriction has been guaranteed by the VM at the point where this operand's instruction occurs.

manifest

The L2ValueManifest from which to extract a suitable definition instruction.


constructor(semanticValue: L2SemanticValue, restriction: TypeRestriction, register: L2FloatRegister)

Construct a new L2ReadFloatOperand with an explicit definition register L2WriteFloatOperand.

Parameters

semanticValue

The L2SemanticValue that is being read when an L2Instruction uses this L2Operand.

restriction

The TypeRestriction that bounds the value being read.

register

The L2FloatRegister being read by this operand.