Skip to content

Commit 2006c64

Browse files
committed
[IRGen] Don't add skip for resilient types in layout strings
The runtime will skip the appropriate number of bytes based on the size of the object
1 parent 35d6175 commit 2006c64

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/IRGen/TypeLayout.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2408,7 +2408,6 @@ bool EnumTypeLayoutEntry::refCountString(IRGenModule &IGM,
24082408

24092409
auto *accessor = createMetatypeAccessorFunction(IGM, ty, genericSig);
24102410
B.addFixedEnumRefCount(accessor);
2411-
B.addSkip(fixedSize(IGM)->getValue());
24122411
return true;
24132412
}
24142413
}

0 commit comments

Comments
 (0)