Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
mkModBreaks :: Interp -> Module -> SizedSeq Tick -> IO ModBreaks Source #
Initialize memory for breakpoint data that is shared between the bytecode generator and the interpreter.
Since GHCi and the RTS need to interact with breakpoint data and the bytecode generator needs to encode this information for each expression, the data is allocated remotely in GHCi's address space and passed to the codegen as foreign pointers.