alpha: switch handling of 'foreign import wrapper' (FIW) to libffi
authorSergei Trofimovich <slyfox@community.haskell.org>
Thu, 8 Jul 2010 06:53:18 +0000 (06:53 +0000)
committerSergei Trofimovich <slyfox@community.haskell.org>
Thu, 8 Jul 2010 06:53:18 +0000 (06:53 +0000)
commita8dc46dcbeeaf94a5321a1b8932725f7650d7abd
tree8f0e02928987c62adf4710c0fc052bf2fe5c46e4
parent1148cb85d9fc73e5cf67c477a1e08fd994961e60
alpha: switch handling of 'foreign import wrapper' (FIW) to libffi

I tried to build ghc-6.12.3 and found out FIW part of code
does not compile anymore. It uses absent functions under #ifdef.
Instead of fixing it I just switched to libffi. Result built successfully
and passed 'foreign import wrapper' test I wrote for trac ticket #3516.

I didn't try to build -HEAD yet, but this patch only removes code, so
it should not make -HEAD worse.
compiler/typecheck/TcForeign.lhs
mk/config.mk.in