Skip to content
  • Simon Marlow's avatar
    Support for using libffi to implement FFI calls in GHCi (#631) · 937eb1f1
    Simon Marlow authored
    This means that an unregisterised build on a platform not directly
    supported by GHC can now have full FFI support using libffi.
    
    Also in this commit:
    
     - use PrimRep rather than CgRep to describe FFI args in the byte
       code generator.  No functional changes, but PrimRep is more correct.
    
     - change TyCon.sizeofPrimRep to primRepSizeW, which is more useful
    937eb1f1