Safe Haskell | Ignore |
---|---|
Language | Haskell2010 |
Synopsis
- closureInfoStat :: Bool -> ClosureInfo -> JStat
- closure :: ClosureInfo -> JStat -> JStat
- conClosure :: Ident -> FastString -> CILayout -> Int -> JStat
- data Closure = Closure {}
- newClosure :: Closure -> JExpr
- assignClosure :: JExpr -> Closure -> JStat
- data CopyCC
- = CopyCC
- | DontCopyCC
- copyClosure :: CopyCC -> JExpr -> JExpr -> JStat
- mkClosure :: JExpr -> [JExpr] -> JExpr -> Maybe JExpr -> Closure
- allocData :: Int -> JExpr
- allocClsA :: Int -> JExpr
- dataName :: Int -> FastString
- clsName :: Int -> FastString
- dataFieldName :: Int -> FastString
- varName :: Int -> Ident
- jsClosureCount :: Int
Documentation
closureInfoStat :: Bool -> ClosureInfo -> JStat Source #
conClosure :: Ident -> FastString -> CILayout -> Int -> JStat Source #
Used to pass arguments to newClosure with some safety
newClosure :: Closure -> JExpr Source #
dataName :: Int -> FastString Source #
clsName :: Int -> FastString Source #
dataFieldName :: Int -> FastString Source #
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.