Skip to content

Commit 38a22d1

Browse files
committed
Serialization: Fix serialization of layout constraints
1 parent 3cf613a commit 38a22d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,8 @@ void Serializer::writeBlockInfoBlock() {
657657
decls_block::GENERIC_PARAM);
658658
BLOCK_RECORD_WITH_NAMESPACE(sil_block,
659659
decls_block::GENERIC_REQUIREMENT);
660+
BLOCK_RECORD_WITH_NAMESPACE(sil_block,
661+
decls_block::LAYOUT_REQUIREMENT);
660662

661663
BLOCK(SIL_INDEX_BLOCK);
662664
BLOCK_RECORD(sil_index_block, SIL_FUNC_NAMES);
@@ -3528,6 +3530,7 @@ void Serializer::writeAllDeclsAndTypes() {
35283530
registerDeclTypeAbbr<GenericParamListLayout>();
35293531
registerDeclTypeAbbr<GenericParamLayout>();
35303532
registerDeclTypeAbbr<GenericRequirementLayout>();
3533+
registerDeclTypeAbbr<LayoutRequirementLayout>();
35313534
registerDeclTypeAbbr<GenericEnvironmentLayout>();
35323535
registerDeclTypeAbbr<SILGenericEnvironmentLayout>();
35333536

0 commit comments

Comments
 (0)