cvs commit: fptools/ghc/compiler/deSugar DsForeign.lhs

Simon Marlow simonmar at haskell.org
Mon Jan 10 08:53:16 EST 2005


simonmar    2005/01/10 05:53:15 PST

  Modified files:
    ghc/compiler/deSugar DsForeign.lhs 
  Log:
  Obscure bugfix affecting foreign import "wrapper" with non-word-sized
  argument types (eg. Double) on Windows.  The list of arguments types
  returned by dsFExport was the boxed types, rather than the unboxed
  types, so dsFExportDynamic couldn't get the correct sizes of the
  argument types to the stub function.
  
  It's more correct now, but not totally correct (see the comment for
  details).
  
  Noticed by: Wolfgang Thaller.
  
  Revision  Changes    Path
  1.86      +40 -7     fptools/ghc/compiler/deSugar/DsForeign.lhs


More information about the Cvs-ghc mailing list