codegen: handle exceptions of a method
[mate.git] / Mate / NativeMachine.hs
1 {-# LANGUAGE CPP #-}
2 module Mate.NativeMachine(
3   emitFromBB,
4   mateHandler,
5   register_signal,
6   ptrSize, longSize,
7   NativeWord
8   )where
9
10 #ifdef ARCH_X86
11 import Mate.X86CodeGen
12 import Mate.X86TrapHandling
13 import Mate.NativeSizes
14 #else
15
16 -- HACK, for ghc-mod ...
17 import Mate.X86CodeGen
18 import Mate.X86TrapHandling
19 import Mate.NativeSizes
20 #endif