1. 16 Aug, 2002 4 commits
  2. 14 Aug, 2002 1 commit
  3. 13 Aug, 2002 1 commit
  4. 12 Aug, 2002 1 commit
  5. 09 Aug, 2002 4 commits
  6. 06 Aug, 2002 1 commit
  7. 05 Aug, 2002 3 commits
    • simonmar's avatar
      [project @ 2002-08-05 11:11:44 by simonmar] · d31d3e06
      simonmar authored
      - Update the old coding style document
      - Move it to the commentary under the "RTS & libs" section
    • simonmar's avatar
      [project @ 2002-08-05 10:11:03 by simonmar] · 3c5a4f17
      simonmar authored
      Overhaul the debugging flags.  The old bitfield mechanism was a bit
      silly, so now instead of writing -D129 (the one I use most) you can
      now write -DSs.  Each debugging option has a single character assigned
      to it, documented in the -? help text.
    • simonmar's avatar
      [project @ 2002-08-05 09:18:27 by simonmar] · bb905676
      simonmar authored
      We have to turn off the buffering on stdout, stdin & stderr after
      every time we revert all CAFs, not just when starting up GHCi.
  8. 02 Aug, 2002 4 commits
    • simonmar's avatar
      [project @ 2002-08-02 13:08:33 by simonmar] · 259be9ef
      simonmar authored
      PrimRep Cleanup
         - Remove all PrimReps which were just different flavours of
           PtrRep.  Now, everything which is a pointer to a closure of
           some kind is always a PtrRep.
         - Three of the deleted PrimReps, namely ArrayRep, ByteArrayRep,
           and ForeignObj rep, had a subtle reason for their existence:
           the abstract C pretty-printer(!) used them to decide whether
           to apply a shim to an outgoing C-call argument: a ByteArrayRep
           argument would be adjusted to point past the object header,
           for example.
           I've changed this to happen in a much more reasonable and
           obvious way: there are now explict macros in AbsCSyn to do the
           adjustment, and the code generator makes calls to these as
           necessary.  Slightly less hackery is necessary in the NCG as
           a result.
    • simonmar's avatar
      [project @ 2002-08-02 12:24:04 by simonmar] · 226413e1
      simonmar authored
      Pass -fno-builtin to gcc when compiling .hc files, because this avoids
      a common cause of running out of registers when foreign calls to
      functions like memcpy(), strlen() are made from Haskell.
    • simonmar's avatar
      [project @ 2002-08-02 11:17:15 by simonmar] · 801e81a7
      simonmar authored
      Remove out-of-date comment
    • simonmar's avatar
      [project @ 2002-08-02 09:44:26 by simonmar] · 853e11c0
      simonmar authored
      Mention that --show-iface is needed for viewing interface files.
  9. 01 Aug, 2002 4 commits
  10. 31 Jul, 2002 2 commits
  11. 30 Jul, 2002 3 commits
  12. 29 Jul, 2002 8 commits
    • simonpj's avatar
      [project @ 2002-07-29 16:12:07 by simonpj] · 90b4aa6c
      simonpj authored
      ** MERGE TO STABLE **
      1. Make TidyPgm forget IdInfo for exported things.  This is
         really important for the recompilation checker; see the
         commment with TidyPgm.tidyTopIdInfo
         Fixes a bug reported by Sigbjorn.
      2. Make CoreToStg more robust, by avoiding the duplicate
         calculation of update flag for top-level closures
    • simonpj's avatar
      [project @ 2002-07-29 16:08:20 by simonpj] · ae54d9e7
      simonpj authored
      Comment only
    • simonpj's avatar
      [project @ 2002-07-29 13:19:52 by simonpj] · 4bca2e7f
      simonpj authored
      ** MERGE TO STABLE **
      Fix an alpha-renaming bug in hoistForAlls
    • simonpj's avatar
      [project @ 2002-07-29 12:22:37 by simonpj] · 2ddea0a8
      simonpj authored
      Surprisingly large delta to make rebindable names work properly.
      I was sloppily not checking the type of the user-supplied name,
      and Ashley Yakeley's first experiment showed up the problem!
      Solution: typechecker has to check both the 'standard' name and
      the 'user' name and check the latter has a type compatible with the
      The main comment is with Inst.tcSyntaxName (a new function).
    • simonmar's avatar
      [project @ 2002-07-29 11:22:31 by simonmar] · 94f8d8ae
      simonmar authored
      Back out previous commit; -static is on by default and we don't want
      to always pass -static to the linker.
    • simonmar's avatar
      [project @ 2002-07-29 10:50:43 by simonmar] · 5bca7237
      simonmar authored
      Type variables created by the typechecker didn't have the correct
      NameSpace: they were in the Var namespace rather than the TyVar
      namespace, which can lead to strange warnings about quantified type
      variables being not mentioned in the type when DEBUG is on.
      	- added mkSystemNameEncoded for use when the string
      	  is already encoded (saves re-encoding the string every
      	- added mkSystemTvNameEncoded for making a type variable
      	  name, as above
      	- use mkSystemTvNameEncoded when making type variables
      	- add mkSysLocalUnencoded for the (rare) case when
      	  the string needs encoding
      	- use mkSystemTvNameEncoded rather than mkSystemName for
      	  making type variables
      	- use mkSysLocalUnencoded since the names generated here
      	  need encoding.
    • simonmar's avatar
      [project @ 2002-07-29 10:42:29 by simonmar] · 157cecc7
      simonmar authored
      Add -static to the linker command line when -static is passed to GHC.
      At some point we might want a way to say that Haskell libraries should
      be linked statically but everything else should be linked as normal,
      but since we aren't really supporting dynamic Haskell libraries at
      this time, we don't need to address that yet.
    • simonpj's avatar
      [project @ 2002-07-29 09:11:04 by simonpj] · ca667fbb
      simonpj authored
      More informative crash in rdrNameModule
  13. 28 Jul, 2002 3 commits
  14. 26 Jul, 2002 1 commit