Skip to content

Commit e2b8366

Browse files
authored
[Runtime] Remove incorrect skip in handleSinglePayloadEnumGenericTag
1 parent 8d713c3 commit e2b8366

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)