Skip to content

Commit c1de4c8

Browse files
committed
[Serialization] Correct pack type serialization.
1 parent fa3ffc6 commit c1de4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4972,7 +4972,7 @@ class Serializer::TypeSerializer : public TypeVisitor<TypeSerializer> {
49724972
void visitPackType(const PackType *packTy) {
49734973
using namespace decls_block;
49744974
unsigned abbrCode = S.DeclTypeAbbrCodes[PackTypeLayout::Code];
4975-
TupleTypeLayout::emitRecord(S.Out, S.ScratchRecord, abbrCode);
4975+
PackTypeLayout::emitRecord(S.Out, S.ScratchRecord, abbrCode);
49764976

49774977
abbrCode = S.DeclTypeAbbrCodes[PackTypeEltLayout::Code];
49784978
for (auto elt : packTy->getElementTypes()) {

0 commit comments

Comments
 (0)