Previous: , Up: Prefix Unary Operators   [Index]


3.7.2 Optimizing Prefix Unary Operators

The expression evaluator can perform a number of optimizations over prefix unary operators.

See Optimizing Expressions.

See x1f4_line_expression.

Such optimizations are performed with no built-in knowledge of operator semantics. Instead, the operator definition is used to determine which of the supported optimizations do apply.

The operator properties (as they are relevant for the operator optimization logic) are to be listed in the flags field of the operator struct x1f4_operator_type definition.

See struct x1f4_operator_type.

See Prefix Unary Operator Flags.