Skip to content

compiler: fix generateCgIPEStub for no-tables-next-to-code builds

Cheng Shao requested to merge type-dance/ghc:ipe-fix-no-tntc into master

generateCgIPEStub already correctly implements the CmmTick finding logic for when tables-next-to-code is on/off, but it used the wrong predicate to decide when to switch between the two. Previously it switches based on whether the codegen is unregisterised, but there do exist registerised builds that disable tables-next-to-code! This patch corrects that problem. Fixes #22896 (closed).

Merge request reports