mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILSerializer: serialize 3 more witness entry types.
method type was handled earlier. This commit handles associated_type, associated_type_protocol and base_protocol. rdar://15722175 Swift SVN r13538
This commit is contained in:
@@ -281,6 +281,10 @@ void Serializer::writeBlockInfoBlock() {
|
||||
BLOCK_RECORD(sil_block, SIL_INIT_EXISTENTIAL);
|
||||
BLOCK_RECORD(sil_block, SIL_WITNESSTABLE);
|
||||
BLOCK_RECORD(sil_block, SIL_WITNESS_METHOD_ENTRY);
|
||||
BLOCK_RECORD(sil_block, SIL_WITNESS_BASE_ENTRY);
|
||||
BLOCK_RECORD(sil_block, SIL_WITNESS_ASSOC_PROTOCOL);
|
||||
BLOCK_RECORD(sil_block, SIL_WITNESS_ASSOC_ENTRY);
|
||||
|
||||
// These layouts can exist in both decl blocks and sil blocks.
|
||||
#define BLOCK_RECORD_WITH_NAMESPACE(K, X) emitRecordID(Out, X, #X, nameBuffer)
|
||||
BLOCK_RECORD_WITH_NAMESPACE(sil_block,
|
||||
|
||||
Reference in New Issue
Block a user