codegen: get full jnmap in patcher
[mate.git] / Mate / MethodPool.hs-boot
index a1dfe4f0c134a358f9935e1b1b1d6b1afe4bfed7..6bb91c313e7af62f2ee5c3e719226dfd89e3e18b 100644 (file)
@@ -9,7 +9,7 @@ import Mate.NativeSizes
 import Foreign.C.Types
 
 
-addMethodRef :: NativeWord -> MethodInfo -> [B.ByteString] -> IO ()
-compileBB :: RawMethod -> MethodInfo -> IO NativeWord
+addMethodRef :: (NativeWord, JpcNpcMap) -> MethodInfo -> [B.ByteString] -> IO ()
+compileBB :: MethodInfo -> RawMethod -> MethodInfo -> IO (NativeWord, JpcNpcMap)
 executeFuncPtr :: NativeWord -> IO ()
-getMethodEntry :: MethodInfo -> IO CPtrdiff
+getMethodEntry :: MethodInfo -> IO (CPtrdiff, JpcNpcMap)