CONSTANT

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.

Properties

Link copied to clipboard
val canHavePurpose: Boolean = false

Whether this kind of operand can have a Purpose.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Create a L2NamedOperandType from the receiver and a String naming its role within some L2Operation.

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.