mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: add new instructions to support tail-allocated arrays in SIL.
The new instructions are: ref_tail_addr, tail_addr and a new attribute [ tail_elems ] for alloc_ref. For details see docs/SIL.rst As these new instructions are not generated so far, this is a NFC.
This commit is contained in:
@@ -485,6 +485,7 @@ void Serializer::writeBlockInfoBlock() {
|
||||
BLOCK_RECORD(sil_block, SIL_ONE_TYPE_ONE_OPERAND);
|
||||
BLOCK_RECORD(sil_block, SIL_ONE_TYPE_VALUES);
|
||||
BLOCK_RECORD(sil_block, SIL_TWO_OPERANDS);
|
||||
BLOCK_RECORD(sil_block, SIL_TAIL_ADDR);
|
||||
BLOCK_RECORD(sil_block, SIL_INST_APPLY);
|
||||
BLOCK_RECORD(sil_block, SIL_INST_NO_OPERAND);
|
||||
BLOCK_RECORD(sil_block, SIL_VTABLE);
|
||||
|
||||
Reference in New Issue
Block a user