Skip to content

codeGen: Fix header size for array write barriers

Ben Gamari requested to merge wip/nonmoving-fixes into master

Previously the code generator's logic for invoking the nonmoving write barrier was inconsistent with the write barrier itself. Namely, the code generator treated the header size argument as being in words whereas the barrier expected bytes. This was the cause of #19715.

Thanks to Max Wieden for his help in minimizing the reproducer.

Fixes #19715.

Edited by Ben Gamari

Merge request reports