Files
Erik Eckstein 64693b59da SIL: add the [immortal] flag to the raw_pointer_to_ref instruction
The `immortal` flag means that the resulting object is immortal, i.e. it is
never deallocated and therefore doesn't need to be retained or released. In
OSSA the result of an `immortal` `raw_pointer_to_ref` has `none` ownership,
whereas the result of a non-`immortal` `raw_pointer_to_ref` is `owned` - the
instruction "creates" a new reference which must be consumed exactly once.
Accordingly, lowering out of OSSA inserts a `strong_retain` after a non-immortal
`raw_pointer_to_ref`.
2026-09-21 08:48:01 +02:00
..
2025-01-13 11:28:44 -08:00
2024-03-12 08:33:16 -07:00
2024-06-11 14:57:23 -07:00
2024-06-11 17:43:18 -07:00
2024-06-05 07:48:50 -07:00