Next: Toggle Operator Pair Kill, Previous: Identity Operator Kill, Up: Optimizing Prefix Unary Operators [Index]
The optimization removes the reversal transform operator pair occurrences. The reversal transform is (here) the transform that doubly applied is the null transform.
The struct x1f4_operator_type
operator definition is to include the
X1f4_E4_KILL_PAIR
bit in its flags
bits list field.
See struct x1f4_operator_type.
See Prefix Unary Operator Flags.
It applies for such operators as the C unary ‘-’ and ‘~’.
The optimization transforms expressions like:
--e
into:
e