patching: define patcher in X86CodeGen itself where possible
[mate.git] / Mate / MethodPool.hs-boot
index 7efca9c6f1e0ac5c423caa8e1bf2531c71ecb9db..a1dfe4f0c134a358f9935e1b1b1d6b1afe4bfed7 100644 (file)
@@ -2,14 +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 :: RawMethod -> MethodInfo -> IO Word32
-executeFuncPtr :: Word32 -> IO ()
-getMethodEntry :: CPtrdiff -> CPtrdiff -> IO CPtrdiff
+addMethodRef :: NativeWord -> MethodInfo -> [B.ByteString] -> IO ()
+compileBB :: RawMethod -> MethodInfo -> IO NativeWord
+executeFuncPtr :: NativeWord -> IO ()
+getMethodEntry :: MethodInfo -> IO CPtrdiff