Safe Haskell | None |
---|
Tools for JIT execution
- class ExecutionEngine e f | e -> f where
- withModuleInEngine :: e -> Module -> (ExecutableModule e -> IO a) -> IO a
- getFunction :: ExecutableModule e -> Name -> IO (Maybe f)
- data ExecutableModule e
- data JIT
- withJIT :: Context -> Word -> (JIT -> IO a) -> IO a
Documentation
class ExecutionEngine e f | e -> f where
withModuleInEngine :: e -> Module -> (ExecutableModule e -> IO a) -> IO a
getFunction :: ExecutableModule e -> Name -> IO (Maybe f)
ExecutionEngine JIT (FunPtr ()) |
data ExecutableModule e
a ExecutableModule
e represents a Module
which is currently in an
ExecutionEngine
, and so the functions of which may be executed.