In fgMorphCopyBlock(), a copy between mismatched struct types will force both the source and destination to be marked lvDoNotEnregister (search for "with mismatched types"). However, it would be possible to allow field-by-field copy to the destination, or from the source if the source is the same size.
It is unclear how often this happens, but it is worth investigating.
This came up in the review of #36146.
category:cq
theme:structs
skill-level:intermediate
cost:medium
impact:medium
In
fgMorphCopyBlock(), a copy between mismatched struct types will force both the source and destination to be markedlvDoNotEnregister(search for "with mismatched types"). However, it would be possible to allow field-by-field copy to the destination, or from the source if the source is the same size.It is unclear how often this happens, but it is worth investigating.
This came up in the review of #36146.
category:cq
theme:structs
skill-level:intermediate
cost:medium
impact:medium