ghc-lib-9.8.2.20240223: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.StgToJS.Closure

Synopsis

Documentation

closure Source #

Arguments

:: ClosureInfo

object being info'd see ciVar in ClosureInfo

-> JStat

rhs

-> JStat 

data Closure Source #

Used to pass arguments to newClosure with some safety

Constructors

Closure 

data CopyCC Source #

Constructors

CopyCC 
DontCopyCC 
 

jsClosureCount :: Int Source #

We use this in the RTS to determine the number of generated closures. These closures use the names cached here, so we bind them to the same number.