x86 only: remove special ccall support for calling PerformGC_wrapper
using dodgy-looking calling convention. PerformGC_wrapper was last
seen alive in GHC 3.X, AFAIK.
#if i386_TARGET_ARCH
-genCCall fn cconv ret_rep [StInt i]
- | isLeft fn && unLeft fn == SLIT ("PerformGC_wrapper")
- = let call = toOL [
- MOV L (OpImm (ImmInt (fromInteger i))) (OpReg eax),
- CALL (Left (ImmLit (ptext (if underscorePrefix
- then (SLIT ("_PerformGC_wrapper"))
- else (SLIT ("PerformGC_wrapper"))))))
- ]
- in
- returnNat call
-
-
genCCall fn cconv ret_rep args
= mapNat push_arg
(reverse args) `thenNat` \ sizes_n_codes ->