ffi: don't use C for obtaining an address of a haskell function
authorBernhard Urban <lewurm@gmail.com>
Mon, 11 Jun 2012 19:02:20 +0000 (21:02 +0200)
committerBernhard Urban <lewurm@gmail.com>
Mon, 11 Jun 2012 19:02:20 +0000 (21:02 +0200)
commit16024a28f32c48dd2a002de86d555469e156f8e4
tree9cbe6f0e4ad2f2ace2a5ce2f5428f231db5fce68
parent274f2a9f4bd3aae46a3c340932cf8c5ccfbfd875
ffi: don't use C for obtaining an address of a haskell function

i.e. get rid of dirty FFI hacks.

thanks to simonmar:
http://stackoverflow.com/questions/10967598/get-the-address-of-a-function-without-ffi#comment14326263_10967598
Mate/X86CodeGen.hs
doc/TODO
ffi/trap.c