CONSTANT
Content copied to clipboard
An L2ConstantOperand holds a specific AvailObject. The value is always made immutable for safety during L2 code generation. And then made shared prior to installing the L2Chunk.
Functions
Link copied to clipboard
Create a L2NamedOperandType from the receiver and a String naming its role within some L2Operation.
fun named(roleName: String, purpose: L2NamedOperandType.Purpose): L2NamedOperandType
Content copied to clipboard
Create a L2NamedOperandType from the receiver, a String naming its role within some L2Operation, and a designator of its purpose. The purpose is used to designate branch edges, and correlate them to register writes that only happen if the corresponding edge is taken.