mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
When reemitting a type context descriptor, several fields - method lookup function - dispatch thunk - nonoverride method descriptor were previously being reemitted. In a couple of earlier commits, that behavior was altered to delete the fields before reemitting them.3ad2777a68[IRGen] Erase nonoverride descriptor on emission.c25c180c08[IRGen] Erase thunks before emission. Here, the behavior is changed to simply exit early when these fields are being reemitted. Also an assertion is added that these fields are redefined only when reemitting the type context descriptor.
184 KiB
184 KiB