HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.StgToJS.Rts.Rts

Top level driver of the JavaScript Backend RTS. This file is an implementation of the JS RTS for the JS backend written as an EDSL in Haskell. It assumes the existence of pre-generated JS functions, included as js-sources in base. These functions are similarly assumed for non-inline Primops, See GHC.StgToJS.Prim. Most of the elements in this module are constants in Haskell Land which define pieces of the JS RTS.

  • 2 values
  • Packageghc-9.10.3
  • Exports2
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceRts.hs

Assign registers R1 ... Rn in descending order, that is assign Rn first. This function uses the assignRegs' array to construct functions which set the registers.