This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 09 Jun, 2009 3 commits
    • Duncan Coutts's avatar
      Typechecking for "foreign import prim" · 2da37f4f
      Duncan Coutts authored
      The main restriction is that all args and results must be unboxed types.
      In particular we allow unboxed tuple results (which is a primary
      motivation for the whole feature). The normal rules apply about
      "void rep" result types like State#. We only allow "prim" calling
      convention for import, not export. The other forms of import, "dynamic",
      "wrapper" and data label are banned as a conseqence of checking that the
      imported name is a valid C string. We currently require prim imports to
      be marked unsafe, though this is essentially arbitrary as the safety
      information is unused.
      2da37f4f
    • Duncan Coutts's avatar
      Lexing and parsing for "foreign import prim" · a4005d2d
      Duncan Coutts authored
      We only allow simple function label imports, not the normal complicated
      business with "wrapper" "dynamic" or data label "&var" imports.
      a4005d2d
    • Duncan Coutts's avatar
      Add new FFI calling convention "prim" · 71aa4a47
      Duncan Coutts authored
      First in a series of patches to add the feature.
      This patch just adds PrimCallConv to the CCallConv type.
      71aa4a47
  2. 20 Jun, 2009 2 commits
  3. 17 Jun, 2009 1 commit
  4. 16 Jun, 2009 1 commit
  5. 18 Jun, 2009 1 commit
  6. 16 Jun, 2009 1 commit
  7. 18 May, 2009 1 commit
  8. 16 Jun, 2009 4 commits
  9. 15 Jun, 2009 6 commits
  10. 13 Jun, 2009 2 commits
  11. 12 Jun, 2009 3 commits
  12. 10 Jun, 2009 1 commit
  13. 08 Jun, 2009 1 commit
  14. 29 May, 2009 1 commit
  15. 12 Jun, 2009 1 commit
    • Ian Lynagh's avatar
      Fix the compiler-hs-dependency's · 2675f2b6
      Ian Lynagh authored
      We needed some more $s to delay evaluation until the values are
      available, and the calls needed to be later in the ghc.mk so that
      compiler_stage2_WAYS etc are defined.
      2675f2b6
  16. 11 Jun, 2009 7 commits
  17. 04 Jun, 2009 1 commit
  18. 08 Jun, 2009 1 commit
  19. 10 Jun, 2009 2 commits