ghc-9.8.4: The GHC API
Safe HaskellNone
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.