codegen: handle exceptions of a method
[mate.git] / Mate / MethodPool.hs-boot
1 {-# LANGUAGE OverloadedStrings #-}
2 {-# LANGUAGE ForeignFunctionInterface #-}
3 module Mate.MethodPool where
4
5 import qualified Data.ByteString.Lazy as B
6
7 import Mate.Types
8 import Mate.NativeSizes
9 import Foreign.C.Types
10
11
12 addMethodRef :: (NativeWord, JpcNpcMap) -> MethodInfo -> [B.ByteString] -> IO ()
13 compileBB :: MethodInfo -> RawMethod -> MethodInfo -> IO (NativeWord, JpcNpcMap)
14 executeFuncPtr :: NativeWord -> IO ()
15 getMethodEntry :: MethodInfo -> IO (CPtrdiff, JpcNpcMap)