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. 12 Jan, 2012 7 commits
    • Simon Peyton Jones's avatar
    • Simon Peyton Jones's avatar
    • Simon Peyton Jones's avatar
      Implememt -fdefer-type-errors (Trac #5624) · 5508ada4
      Simon Peyton Jones authored
      This patch implements the idea of deferring (most) type errors to
      runtime, instead emitting only a warning at compile time.  The
      basic idea is very simple:
       * The on-the-fly unifier in TcUnify never fails; instead if it
         gets stuck it emits a constraint.
       * The constraint solver tries to solve the constraints (and is
         entirely unchanged, hooray).
       * The remaining, unsolved constraints (if any) are passed to
         TcErrors.reportUnsolved.  With -fdefer-type-errors, instead of
         emitting an error message, TcErrors emits a warning, AND emits
         a binding for the constraint witness, binding it
         to (error "the error message"), via the new form of evidence
         TcEvidence.EvDelayedError.  So, when the program is run,
         when (and only when) that witness is needed, the program will
         crash with the exact same error message that would have been
         given at compile time.
      Simple really.  But, needless to say, the exercise forced me
      into some major refactoring.
       * TcErrors is almost entirely rewritten
       * EvVarX and WantedEvVar have gone away entirely
       * ErrUtils is changed a bit:
           * New Severity field in ErrMsg
           * Renamed the type Message to MsgDoc (this change
             touches a lot of files trivially)
       * One minor change is that in the constraint solver we try
         NOT to combine insoluble constraints, like Int~Bool, else
         all such type errors get combined together and result in
         only one error message!
       * I moved some definitions from TcSMonad to TcRnTypes,
         where they seem to belong more
    • Simon Marlow's avatar
    • dterei's avatar
      Use Type Based Alias Analysis (TBAA) in LLVM backend (#5567) · 71e5ee7d
      dterei authored
      TBAA allows us to specify a type hierachy in metadata with
      the property that nodes on different branches don't alias.
      This should somewhat improve the optimizations LLVM does that
      rely on alias information.
    • dterei's avatar
      Add Metadata support to LLVM bindings. · 0f15f8a7
      dterei authored
    • dterei's avatar
      More improvements to llvm output style (#5750) · 234a526f
      dterei authored
  2. 11 Jan, 2012 8 commits
  3. 10 Jan, 2012 5 commits
  4. 09 Jan, 2012 4 commits
  5. 08 Jan, 2012 2 commits
  6. 07 Jan, 2012 6 commits
  7. 06 Jan, 2012 8 commits