We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7afd2f5 commit c4b4ecbCopy full SHA for c4b4ecb
docs/SIL.rst
@@ -1886,6 +1886,8 @@ Allocates uninitialized memory that is sufficiently aligned on the stack
1886
to contain a value of type ``T``. The result of the instruction is the address
1887
of the allocated memory.
1888
1889
+``alloc_stack`` always allocates memory on the stack even for runtime-sized type.
1890
+
1891
``alloc_stack`` marks the start of the lifetime of the value; the
1892
allocation must be balanced with a ``dealloc_stack`` instruction to
1893
mark the end of its lifetime. All ``alloc_stack`` allocations must be
0 commit comments