GC: TwoSpace copy evacuation basically works
[mate.git] / Mate / MethodPool.hs-boot
index f17cfb48c0214af01953a2adb10f5bc1ce906094..a1dfe4f0c134a358f9935e1b1b1d6b1afe4bfed7 100644 (file)
@@ -2,12 +2,14 @@
 {-# LANGUAGE ForeignFunctionInterface #-}
 module Mate.MethodPool where
 
-import Data.Binary
 import qualified Data.ByteString.Lazy as B
 
 import Mate.Types
+import Mate.NativeSizes
+import Foreign.C.Types
 
 
-addMethodRef :: Word32 -> MethodInfo -> [B.ByteString] -> IO ()
-compileBB :: MapBB -> MethodInfo -> IO Word32
-executeFuncPtr :: Word32 -> IO ()
+addMethodRef :: NativeWord -> MethodInfo -> [B.ByteString] -> IO ()
+compileBB :: RawMethod -> MethodInfo -> IO NativeWord
+executeFuncPtr :: NativeWord -> IO ()
+getMethodEntry :: MethodInfo -> IO CPtrdiff