L2Read Boxed Operand
constructor(semanticValue: L2SemanticValue, restriction: TypeRestriction, manifest: L2ValueManifest)
Construct a new L2ReadBoxedOperand for the specified L2SemanticValue and TypeRestriction, using information from the given L2ValueManifest.
Parameters
semantic Value
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: L2BoxedRegister)
Construct a new L2ReadBoxedOperand with an explicit definition register L2WriteBoxedOperand.
Parameters
semantic Value
The L2SemanticValue that is being read when an L2Instruction uses this L2Operand.
restriction
The TypeRestriction that bounds the value being read.
register
The L2BoxedRegister being read by this operand.