ghc-lib-9.8.3.20241022: The GHC API, decoupled from GHC versions
Safe HaskellIgnore
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.