L1OperandType

An L1 instruction consists of an L1Operation and its operands, each implicitly described by the operation's L1OperandTypes. These operand types say how to interpret some integer that occurs as the encoding of an actual operand of an instruction.

Author

Mark van Gulik

Entries

Link copied to clipboard

The integer in the nybblecode stream is to be treated as itself, a simple integer.

Link copied to clipboard

The integer in the nybblecode stream is to be treated as an index into the current compiled code object's literals. This allows instructions to refer to arbitrary AvailObjects.

Link copied to clipboard

The integer in the nybblecode stream is to be treated as an index into the arguments and local variables of the continuation. The arguments come first, numbered from 1, then the local variables.

Link copied to clipboard

The integer in the nybblecode stream is to be treated as an index into the current function's captured outer variables.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.