1. 11 Sep, 2007 2 commits
  2. 07 Sep, 2007 1 commit
  3. 10 Sep, 2007 2 commits
  4. 11 Sep, 2007 2 commits
  5. 10 Sep, 2007 4 commits
    • Ian Lynagh's avatar
      Add a BeConservative setting to the make system · 60610640
      Ian Lynagh authored
      If it is set, we don't try to use clock_gettime
      60610640
    • mnislaih's avatar
      Nicer GHCi debugger underlining · b59ce959
      mnislaih authored
      Improved the underlining of blocks.
      With this patch it does:
      
      Stopped at break020.hs:(6,20)-(7,29)
      _result :: t1 () = _
      5  
                           vv
      6  in_another_decl _ = do line1 0
      7                         line2 0
                                       ^^
      8  
      
      Instead of
      
      Stopped at break020.hs:(6,20)-(7,29)
      _result :: t1 () = _
      5  
      6  in_another_decl _ = do line1 0
                             ^^
      7                         line2 0
                                       ^^
      8  
      
      b59ce959
    • mnislaih's avatar
      FIX #1669 (GHCi debugger underlining is in the wrong place) · 5ac833ec
      mnislaih authored
      We weren't taking into account the offset added by the line numbers:
      
      Stopped at break020.hs:10:2-8
      _result :: IO () = _
      9  main = do
      10    line1 0
           ^^^^^^^
      11    line2 0
      
      
      This patch adjusts that 
      5ac833ec
    • Ian Lynagh's avatar
      Turn off orphan warnings · 3f070beb
      Ian Lynagh authored
      We also avoid using -fno-warn-orphans with older GHCs that don't understand
      the flag.
      3f070beb
  6. 07 Sep, 2007 2 commits
  7. 10 Sep, 2007 3 commits
    • Simon Marlow's avatar
      FIX #903: mkWWcpr: not a product · 3b1438a9
      Simon Marlow authored
      This fixes the long-standing bug that prevents some code with
      mutally-recursive modules from being compiled with --make and -O,
      including GHC itself.  See the comments for details.
      
      There are some additional cleanups that were forced/enabled by this
      patch: I removed importedSrcLoc/importedSrcSpan: it wasn't adding any
      useful information, since a Name already contains its defining Module.
      In fact when re-typechecking an interface file we were wrongly
      replacing the interesting SrcSpans in the Names with boring
      importedSrcSpans, which meant that location information could degrade
      after reloading modules.  Also, recreating all these Names was a waste
      of space/time.
      3b1438a9
    • chak@cse.unsw.edu.au.'s avatar
    • sven.panne@aedion.de's avatar
      The RTS is Haddock-less, tell make about it · a6162958
      sven.panne@aedion.de authored
      MERGE TO STABLE
      a6162958
  8. 09 Sep, 2007 6 commits
  9. 08 Sep, 2007 2 commits
  10. 07 Sep, 2007 3 commits
  11. 08 Sep, 2007 7 commits
  12. 07 Sep, 2007 1 commit
  13. 08 Sep, 2007 1 commit
  14. 07 Sep, 2007 4 commits
    • Ian Lynagh's avatar
      Fix assertions in RtClosureInspect · 907c44ca
      Ian Lynagh authored
      907c44ca
    • Ian Lynagh's avatar
      In ASSERT and friends, use all the expressions we are passed even if !DEBUG · cd14f467
      Ian Lynagh authored
      Otherwise we may get unused variable warnings. GHC should optimise them
      all out for us.
      cd14f467
    • Ian Lynagh's avatar
      Don't put directories for unbuildable libraries in bindists · 0fcdfcf6
      Ian Lynagh authored
      We think there is a library there, and then installPackage fails to
      install it.
      0fcdfcf6
    • nr@eecs.harvard.edu's avatar
      a good deal of salutory renaming · fd8d0411
      nr@eecs.harvard.edu authored
      I've renamed a number of type and data constructors within Cmm so that
      the names used in the compiler may more closely reflect the C--
      specification 2.1.  I've done a bit of other renaming as well.
      Highlights:
      
        CmmFormal and CmmActual now bear a CmmKind (which for now is a
                                                    MachHint as before)
        CmmFormals = [CmmFormal] and CmmActuals = [CmmActual]
        
        suitable changes have been made to both code and nonterminals in the
        Cmm parser (which is as yet untested)
      
        For reasons I don't understand, parts of the code generator use a
        sequence of 'formal parameters' with no C-- kinds.  For these we now
        have the types
          type CmmFormalWithoutKind   = LocalReg
          type CmmFormalsWithoutKinds = [CmmFormalWithoutKind]
      
        A great many appearances of (Tau, MachHint) have been simplified to
        the appropriate CmmFormal or CmmActual, though I'm sure there are
        more opportunities.
      
        Kind and its data constructors are now renamed to
           data GCKind = GCKindPtr | GCKindNonPtr 
        to avoid confusion with the Kind used in the type checker and with CmmKind.
      
      Finally, in a somewhat unrelated bit (and in honor of Simon PJ, who
      thought of the name), the Whalley/Davidson 'transaction limit' is now
      called 'OptimizationFuel' with the net effect that there are no longer
      two unrelated uses of the abbreviation 'tx'.
      
      fd8d0411