File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4550,10 +4550,19 @@ end_lifetime
45504550
45514551 sil-instruction ::= 'end_lifetime' sil-operand
45524552
4553+ // Consumes %0 without destroying it
4554+ end_lifetime %0 : $T
4555+
4556+ // Consumes the memory location %1 without destroying it
4557+ end_lifetime %1 : $*T
4558+
45534559This instruction signifies the end of it's operand's lifetime to the ownership
45544560verifier. It is inserted by the compiler in instances where it could be illegal
45554561to insert a destroy operation. Ex: if the sil-operand had an undef value.
45564562
4563+ The instruction accepts an object or address type.
4564+
4565+ `@owned T `. If its argument is an address type, it's an identity projection.
45574566This instruction is valid only in OSSA and is lowered to a no-op when lowering
45584567to non-OSSA.
45594568
You can’t perform that action at this time.
0 commit comments