1. 20 May, 2008 1 commit
  2. 14 May, 2008 1 commit
    • Simon Marlow's avatar
      FIX #2276: foreign import stdcall "&foo" doesn't work · bca74f3e
      Simon Marlow authored
      This turned out not to be too hard, just a matter of figuring out the
      correct argument list size by peeking inside FunPtr's type argument,
      and in the C backend we have to emit an appropriate prototype for the label.
      bca74f3e
  3. 13 May, 2008 1 commit
  4. 12 May, 2008 2 commits
  5. 07 May, 2008 1 commit
  6. 06 May, 2008 1 commit
  7. 03 May, 2008 4 commits
    • nr@eecs.harvard.edu's avatar
      652a316b
    • nr@eecs.harvard.edu's avatar
      replace Cmm 'hint' with 'kind' · b71b86cf
      nr@eecs.harvard.edu authored
      C-- no longer has 'hints'; to guide parameter passing, it
      has 'kinds'.  Renamed type constructor, data constructor, and record
      fields accordingly
      b71b86cf
    • nr@eecs.harvard.edu's avatar
      new version of ZipDataflow · 4b0d5137
      nr@eecs.harvard.edu authored
      This version combines forward/backard into a type class
      (actually two classes) of analysis and transformation.
      These type classes will always be expanded away at the client,
      so SLPJ may wonder why they exist: it is because the interface
      to this module is already very broad, and by overloading the functions 
      for forward and backward problems, we cut the cognitive load on the
      clients in half.
      4b0d5137
    • nr@eecs.harvard.edu's avatar
      minor changes to Cmm left over from September 2007 · ba60dc74
      nr@eecs.harvard.edu authored
      Nothing too deep here; primarily tinking with prettyprinting
      and names.  Also eliminated some warnings.  This patch covers
      most (but not all) of the code NR changed at the very end
      of September 2007, just before ICFP hit...
      ba60dc74
  8. 23 Apr, 2008 2 commits
  9. 22 Apr, 2008 1 commit
  10. 12 Apr, 2008 8 commits
  11. 17 Apr, 2008 1 commit
  12. 09 Apr, 2008 1 commit
  13. 02 Apr, 2008 1 commit
    • Simon Marlow's avatar
      Do not #include external header files when compiling via C · c245355e
      Simon Marlow authored
      This has several advantages:
      
       - -fvia-C is consistent with -fasm with respect to FFI declarations:
         both bind to the ABI, not the API.
      
       - foreign calls can now be inlined freely across module boundaries, since
         a header file is not required when compiling the call.
      
       - bootstrapping via C will be more reliable, because this difference
         in behavour between the two backends has been removed.
      
      There is one disadvantage:
      
       - we get no checking by the C compiler that the FFI declaration
         is correct.
      
      So now, the c-includes field in a .cabal file is always ignored by
      GHC, as are header files specified in an FFI declaration.  This was
      previously the case only for -fasm compilations, now it is also the
      case for -fvia-C too.
      c245355e
  14. 29 Mar, 2008 3 commits
  15. 08 Feb, 2008 1 commit
  16. 06 Feb, 2008 1 commit
  17. 17 Jan, 2008 1 commit
    • Isaac Dupree's avatar
      lots of portability changes (#1405) · 206b4dec
      Isaac Dupree authored
      re-recording to avoid new conflicts was too hard, so I just put it
      all in one big patch :-(  (besides, some of the changes depended on
      each other.)  Here are what the component patches were:
      
      Fri Dec 28 11:02:55 EST 2007  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * document BreakArray better
      
      Fri Dec 28 11:39:22 EST 2007  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * properly ifdef BreakArray for GHCI
      
      Fri Jan  4 13:50:41 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * change ifs on __GLASGOW_HASKELL__ to account for... (#1405)
        for it not being defined. I assume it being undefined implies
        a compiler with relatively modern libraries but without most
        unportable glasgow extensions.
      
      Fri Jan  4 14:21:21 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * MyEither-->EitherString to allow Haskell98 instance
      
      Fri Jan  4 16:13:29 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * re-portabilize Pretty, and corresponding changes
      
      Fri Jan  4 17:19:55 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * Augment FastTypes to be much more complete
      
      Fri Jan  4 20:14:19 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * use FastFunctions, cleanup FastString slightly
      
      Fri Jan  4 21:00:22 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * Massive de-"#", mostly Int# --> FastInt (#1405)
      
      Fri Jan  4 21:02:49 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * miscellaneous unnecessary-extension-removal
      
      Sat Jan  5 19:30:13 EST 2008  Isaac Dupree <id@isaac.cedarswampstudios.org>
        * add FastFunctions
      206b4dec
  18. 04 Jan, 2008 2 commits
  19. 26 Dec, 2007 3 commits
  20. 20 Dec, 2007 1 commit
    • Simon Marlow's avatar
      Add dead code elimination in cmmMiniInline · ae72991e
      Simon Marlow authored
      cmmMiniInline counts the uses of local variables, so it can easily
      eliminate assigments to unused locals.  This almost never gets
      triggered, as we don't generate any dead assignments, but it will be
      needed by a forthcoming cleanup in CgUtils.emitSwitch.
      ae72991e
  21. 27 Dec, 2007 1 commit
  22. 02 Dec, 2007 1 commit
  23. 28 Nov, 2007 1 commit