Skip to content

rts: Reset STATIC_LINK field of reverted CAFs

Ben Gamari requested to merge wip/reset-static-link-on-revert into master

When we revert a CAF we must reset the STATIC_LINK field lest the GC might assume that the CAF should be ignored (e.g. carries the STATIC_FLAG_LIST flag). See Note [CAF lists] and Note [STATIC_LINK fields].

Fixes #16842 (closed).

Based on patches from @lolotp.

Edited by Ben Gamari

Merge request reports