Skip to content

Commit f5399af

Browse files
authored
Merge pull request #67062 from apple/drexin-patch-6
[Runtime] Remove incorrect skip in handleSinglePayloadEnumGenericTag
2 parents 7a02b26 + e2b8366 commit f5399af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/public/runtime/BytecodeLayouts.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,6 @@ static inline T handleSinglePayloadEnumGenericTag(
801801
extraTagBytesHandler(xiType, payloadSize, numExtraTagBytes)) {
802802
return *result;
803803
}
804-
} else {
805-
reader.skip(sizeof(size_t));
806804
}
807805

808806
auto numEmptyCases = reader.readBytes<unsigned>();

0 commit comments

Comments
 (0)