Skip to content

Commit a98d9af

Browse files
committed
docs: document that a store_borrow location must not be modified by other instructions.
1 parent 32a4a67 commit a98d9af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/SIL.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3745,6 +3745,8 @@ store_borrow
37453745

37463746
Stores the value ``%0`` to a stack location ``%1``, which must be an
37473747
``alloc_stack $T``.
3748+
The stack location must not be modified by other instructions than
3749+
``store_borrow``.
37483750
The stored value is alive until the ``dealloc_stack`` or until another
37493751
``store_borrow`` overwrites the value. During the its lifetime, the stored
37503752
value must not be modified or destroyed.

0 commit comments

Comments
 (0)