1. 16 Jun, 2006 5 commits
  2. 14 Jun, 2006 2 commits
  3. 13 Jun, 2006 1 commit
  4. 12 Jun, 2006 3 commits
  5. 11 Jun, 2006 1 commit
  6. 10 Jun, 2006 1 commit
    • Don Stewart's avatar
      Don't emit 'Skipping' messages unless -v2 or higher is on · 01a51143
      Don Stewart authored
      Following GNU make, this patch makes GHC not emit messages about modules
      its skipping. This makes builds much quieter, and its a lot easier to
      work out what effects a change had on the code.
      
      The current behaviour can be recovered with -v2
      01a51143
  7. 12 Jun, 2006 2 commits
  8. 09 Jun, 2006 1 commit
  9. 08 Jun, 2006 9 commits
    • Simon Marlow's avatar
      fix possible ^C problems · 7434fb5b
      Simon Marlow authored
      Calling prodAllCapabilities() from interruptStgRts() was wrong, for
      the same reasons that we stopped doing it in handle_tick().  We now
      use the same mechanism (send a byte down the pipe to the IO manager
      thread), but abstract it in a wakeUpRts() function in the scheduler.
      7434fb5b
    • Simon Marlow's avatar
      New tracing interface · 5a2769f0
      Simon Marlow authored
      A simple interface for generating trace messages with timestamps and
      thread IDs attached to them.  Most debugging output goes through this
      interface now, so it is straightforward to get timestamped debugging
      traces with +RTS -vt.  Also, we plan to use this to generate
      parallelism profiles from the trace output.
      5a2769f0
    • Simon Marlow's avatar
      fix warnings · 3f10646c
      Simon Marlow authored
      3f10646c
    • Simon Marlow's avatar
      fix warnings · b6c66a92
      Simon Marlow authored
      b6c66a92
    • Simon Marlow's avatar
      Make it so that StgWord/StgInt are longs · 1046d334
      Simon Marlow authored
      This means we can use a %ld format specifier for StgWord/StgInt with
      printf and not get shouted at by gcc.
      1046d334
    • Simon Marlow's avatar
      more warning fixage · a9e6c441
      Simon Marlow authored
      a9e6c441
    • Simon Marlow's avatar
      fix a warning · 0caf5ba4
      Simon Marlow authored
      0caf5ba4
    • Simon Marlow's avatar
      fix some warnings · e9b4997c
      Simon Marlow authored
      e9b4997c
    • Simon Marlow's avatar
      Add new RTS flags for tracing: · d2847b05
      Simon Marlow authored
        -vs       Trace scheduler events (see also -Ds with -debug)
        -vt       Time-stamp trace messages
      
      the intention is that we will pipe the -vs output into a
      profile-generating tool.  This commit includes the flags only,
      functionality to follow.
      d2847b05
  10. 07 Jun, 2006 7 commits
  11. 27 Apr, 2006 1 commit
  12. 06 Jun, 2006 2 commits
  13. 02 Jun, 2006 1 commit
  14. 06 Jun, 2006 1 commit
    • simonmar@microsoft.com's avatar
      markSignalHandlers(): implementation was unnecessary, and had a bug · 47936fa6
      simonmar@microsoft.com authored
      There's no need to mark the signal handler here, because it is stored
      in a StablePtr and hence is a root anyway.  Furthermore, the call to
      evac() was passing the address of a local variable, which turned out
      to be harmless for copying GC, but fatal for compacting GC: compacting
      GC assumes that the addresses of the roots are the same each time.
      
      Fixes: possibly #783, possibly #776, definitely #787
      47936fa6
  15. 05 Jun, 2006 3 commits
    • sof@galois.com's avatar
      af60bb6f
    • simonpj@microsoft.com's avatar
      Remove one more IfaceInlineCall · 6b73e439
      simonpj@microsoft.com authored
      6b73e439
    • simonpj@microsoft.com's avatar
      Remove InlinePlease and add inline function and RULE · f2dcf256
      simonpj@microsoft.com authored
      For a long time GHC has had some internal mechanism designed to support
      a call-site inline directive, thus
      	inline f xs
      makes f be inlined at the call site even if f is big.
      
      However, the surface syntax seems to have gone, and in any case it
      can be done more neatly using a RULE.
      
      This commit:
        * Removes the InlineCall constructor for Note
          and InlinePlease for SimplCont
      
        * Adds a new known-key Id called 'inline', whose definition in
          GHC.Base is just the identity function
      
        * Adds a built-in RULE in PrelRules that rewrites (inline f) to
          the body of f, if possible
      
        * Adds documentation
      
      NOTE: I have not tested this (aeroplane work).  Give it a try!
      f2dcf256