Skip to content

Commit 7afd2f5

Browse files
committed
Delete explanation about dynamically allocated memory from alloc_stack section
1 parent 60b6789 commit 7afd2f5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/SIL.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,10 +1886,6 @@ Allocates uninitialized memory that is sufficiently aligned on the stack
18861886
to contain a value of type ``T``. The result of the instruction is the address
18871887
of the allocated memory.
18881888

1889-
If a type is runtime-sized, the compiler must emit code to potentially
1890-
dynamically allocate memory. So there is no guarantee that the allocated
1891-
memory is really located on the stack.
1892-
18931889
``alloc_stack`` marks the start of the lifetime of the value; the
18941890
allocation must be balanced with a ``dealloc_stack`` instruction to
18951891
mark the end of its lifetime. All ``alloc_stack`` allocations must be

0 commit comments

Comments
 (0)