This project is mirrored from 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. 16 Oct, 2006 3 commits
  2. 14 Oct, 2006 2 commits
  3. 16 Oct, 2006 4 commits
  4. 13 Oct, 2006 2 commits
  5. 06 Oct, 2006 2 commits
  6. 16 Oct, 2006 1 commit
  7. 13 Oct, 2006 5 commits
    •'s avatar
      Add assertion checks for mkCoVar/mkTyVar · ac704fca authored
      A type variable has a flag saying whether it is a *type* variable or
      a *coercion* variable.  This patch adds assertions to check the flag.
      And it adds fixes to places which were Wrong (and hence fired the
      Also removed isCoVar from Coercion, since it's done by Var.isCoVar.
    • Ian Lynagh's avatar
      Uncomment code to emit a space in place of a '>' in literate scripts · 28d732c3
      Ian Lynagh authored
      This fixes trac #210. Test is read041.
    •'s avatar
    •'s avatar
      More refactoring in RnNames · 5ad61e14 authored
      I rather self-indulgently spent a chunk of yesterday working on 
      refactoring RnNames further.  The result is significantly simpler:
      * A GlobalRdrElt gets an extra field, gre_par, which records
        the parent (if any) of the name
      * ImportAvails has two fields deleted: imp_env and imp_parent.
        The information provided by these fields was only used when
        processing the export list; and the same information is now readily
        generated from the GlobalRdrElts in the GlobalRdrEnv
      I also did some tidying up; notably moving AvailEnv stuff from
      TcRnTypes to RnNames.
      The result is tha the compiler is some 130 lines shorter than before
    •'s avatar
      Keep track of family instance modules · 311b1cdf authored
      - Now each modules carries
        (1) a flag saying whether it contains family instance declarations and
        (2) a list of all modules further down in the import tree that contain
            family instance declarations.
        (The information is split into these two parts for the exact same reasons why
        the info about orphan modules is split, too.)
      - This is the first step to *optimised* overlap checking of family instances
        coming from imported modules.
      *** WARNING: This patch changes the interface file format! ***
      ***          Recompile libraries and stage2 from scratch!  ***
  8. 12 Oct, 2006 2 commits
  9. 11 Oct, 2006 3 commits
  10. 12 Oct, 2006 4 commits
  11. 11 Oct, 2006 2 commits
  12. 10 Oct, 2006 2 commits
  13. 11 Oct, 2006 5 commits
    • Ian Lynagh's avatar
      Fix trac #921: generate *q instructions for int-float conversions · 16dbc257
      Ian Lynagh authored
      We need to generate, e.g., cvtsi2sdq rather than cvtsi2sd on amd64 in
      order to have int-float conversions work correctly for values not
      correctly representable in 32 bits.
    • Simon Marlow's avatar
      Module header tidyup #2 · 046ee54f
      Simon Marlow authored
      Push this further along, and fix build problems in the first patch.
    • Simon Marlow's avatar
      remove BitSet, it isn't used · 5199290f
      Simon Marlow authored
    • Simon Marlow's avatar
      Module header tidyup, phase 1 · 49c98d14
      Simon Marlow authored
      This patch is a start on removing import lists and generally tidying
      up the top of each module.  In addition to removing import lists:
         - Change DATA.IOREF -> Data.IORef etc.
         - Change List -> Data.List etc.
         - Remove $Id$
         - Update copyrights
         - Re-order imports to put non-GHC imports last
         - Remove some unused and duplicate imports
    • Simon Marlow's avatar
      Interface file optimisation and removal of nameParent · b00b5bc0
      Simon Marlow authored
      This large commit combines several interrelated changes:
        - IfaceSyn now contains actual Names rather than the special
          IfaceExtName type.  The binary interface file contains
          a symbol table of Names, where each entry is a (package,
          ModuleName, OccName) triple.  Names in the IfaceSyn point
          to entries in the symbol table.
          This reduces the size of interface files, which should
          hopefully improve performance (not measured yet).
          The toIfaceXXX functions now do not need to pass around
          a function from Name -> IfaceExtName, which makes that
          code simpler.
        - Names now do not point directly to their parents, and the
          nameParent operation has gone away.  It turned out to be hard to
          keep this information consistent in practice, and the parent info
          was only valid in some Names.  Instead we made the following
          * ImportAvails contains a new field 
                imp_parent :: NameEnv AvailInfo
            which gives the family info for any Name in scope, and
            is used by the renamer when renaming export lists, amongst
            other things.  This info is thrown away after renaming.
          * The mi_ver_fn field of ModIface now maps to
            (OccName,Version) instead of just Version, where the
            OccName is the parent name.  This mapping is used when
            constructing the usage info for dependent modules.
            There may be entries in mi_ver_fn for things that are not in
            scope, whereas imp_parent only deals with in-scope things.
          * The md_exports field of ModDetails now contains
            [AvailInfo] rather than NameSet.  This gives us
            family info for the exported names of a module.
         - ifaceDeclSubBinders moved to IfaceSyn (seems like the
           right place for it).
         - heavily refactored renaming of import/export lists.
         - Unfortunately external core is now broken, as it relied on
           IfaceSyn.  It requires some attention.
  14. 10 Oct, 2006 3 commits