Skip to content

Refactor GHC.StgToJS.Rts.Rts module

Josh Meredith requested to merge wip/js-rts-fixmes into master

Fixes #22822 (closed)

This patch consolidates the base cases of mkClosureCon into the general case for generating JavaScript h$cN functions.

This patch also adds extra name caches in the form of lookup arrays for commonly used names in generated JavaScript RTS functions, such as xN.

Edited by Josh Meredith

Merge request reports