Skip to content
Snippets Groups Projects
  1. Nov 13, 2009
  2. Nov 12, 2009
  3. Nov 13, 2009
  4. Nov 12, 2009
  5. Nov 11, 2009
    • Simon Marlow's avatar
      Second attempt to fix #1185 (forkProcess and -threaded) · 2d5e052d
      Simon Marlow authored
      Patch 1/2: second part of the patch is to libraries/base
      
      This time without dynamic linker hacks, instead I've expanded the
      existing rts/Globals.c to cache more CAFs, specifically those in
      GHC.Conc.  We were already using this trick for signal handlers, I
      should have realised before.
      
      It's still quite unsavoury, but we can do away with rts/Globals.c in
      the future when we switch to a dynamically-linked GHCi.
      2d5e052d
  6. Nov 12, 2009
    • Simon Peyton Jones's avatar
      A radical overhaul of the coercion infrastucture · cd0e2c0c
      Simon Peyton Jones authored
      * Core Lint now does full checking of kinds and coercion terms
        which picks up kind errors in coercions that were previously
        simply not checked for
      
      * Coercion.lhs now provides optCoercion which optimises coercion
        terms.  It implements all of Dimitrios's rules
      
      * The constructors for coercion terms now make no attempt to be
        "smart"; instead we rely solely on the coercion optimiser
      
      * CoercionTyCons in TyCon.lhs always had a "custom" kinding rule
        (the coKindFun field of CoercionTyCon) but its type was not 
        clever enough to do both 
           (a) *figure out the result kind*, assuming the whole thing
               is well-kinded in the first place
           (b) *check* the kinds of everything, failing gracefully if
               they aren't right. 
        We need (b) for the new CoreLint stuff. The field now has type
              CoTyConKindChecker
        which does the job nicely.
      cd0e2c0c
    • Simon Peyton Jones's avatar
      Improve warning message · 74bc2267
      Simon Peyton Jones authored
      74bc2267
    • Simon Peyton Jones's avatar
  7. Nov 05, 2009
    • John Dias's avatar
      Loop problems in native back ends, update to T3286 fix · c55eee3a
      John Dias authored
      The native back ends had difficulties with loops;
      in particular the code for branch-chain elimination
      could run in infinite loops or drop basic blocks.
      The old codeGen didn't expose these problems.
      
      Also, my fix for T3286 in the new codegen was getting
      applied to too many (some wrong) cases; a better pattern
      match fixed that.
      c55eee3a
  8. Sep 18, 2009
  9. Nov 11, 2009
  10. Nov 10, 2009
  11. Nov 08, 2009
  12. Nov 11, 2009
  13. Nov 09, 2009
  14. Nov 11, 2009
    • Simon Peyton Jones's avatar
      No CoreLint warnings if -dno-debug-output is on · c4ea6c7d
      Simon Peyton Jones authored
      The Core Lint warnings are new.  There's only one at the moment,
      namely one to identify recursive INLINE things:
      
          [RHS of $c>>_als :: forall s_afT a_alJ b_alK.
                              Cpr001_imp.StateTrans s_afT a_alJ
                              -> Cpr001_imp.StateTrans s_afT b_alK
                              -> Cpr001_imp.StateTrans s_afT b_alK]
          INLINE binder is loop breaker: $c>>_als
      
      This is definitely non-fatal, and typically gets unravelled after
      another simplifier run anyway.  So I'm suppressing such warnings
      for the testsuite, when -dno-debug-output is on.
      c4ea6c7d
  15. Nov 10, 2009
  16. Nov 08, 2009
  17. Nov 06, 2009
  18. Nov 11, 2009
Loading