1. 26 Apr, 2004 1 commit
  2. 21 Apr, 2004 6 commits
    • simonpj's avatar
      [project @ 2004-04-21 12:45:54 by simonpj] · 711ede5f
      simonpj authored
      Do a much better job of slurping RULES.  
      
      Now that stuff is slurped in lazily, as the simplifier pokes on it,
      we may not get the rules as early as we might wish.  In the current
      HEAD, no new rules are slurped in after the beginning of SimplCore,
      and that means we permanently miss many rules.
      
      This commit arranges that every time round the simplifier loop we
      slurp in any new rules, and put them into the in-scope set, where the
      simplifier can find them.
      
      It's still possible that a rule might be slurped in a little later than
      in earlier versions of GHC, leading to more simplifier iterations,
      but let's see if that turns out to be a problem in practice.
      711ede5f
    • simonpj's avatar
      [project @ 2004-04-21 12:45:05 by simonpj] · 272163f0
      simonpj authored
      Import wibbles
      272163f0
    • simonpj's avatar
      [project @ 2004-04-21 12:38:20 by simonpj] · 2c27ee79
      simonpj authored
      In Template Haskell suppport
      	dyn "M.x"
      to mean "look up the qualified name M.x in the environment", which is
      what you'd expect.  George Russel wanted this.
      2c27ee79
    • simonpj's avatar
      [project @ 2004-04-21 12:36:51 by simonpj] · 7032166d
      simonpj authored
      Elaborate IfaceSyn.HsWorker to give the full IfaceExtName of the worker,
      rather than just the internal OccName.  Very occasionally, the worker for
      a function in module A turns out to be (by simplification) a function
      defined in module B.  So we must remember the module. This shows up in
      package ObjectIO,
      	Graphics.UI.ObjectIO.OS.Window.osValidateWindowRect
      which has a worker
      	Graphics.UI.ObjectIO.OS.WindowCCall_12.$wwinValidateRect
      
      *** Unfortunately this changes the binary format of hi files slightly, so
      *** you'll have to recompile all your libraries from scratch.
      7032166d
    • simonpj's avatar
      [project @ 2004-04-21 12:36:24 by simonpj] · e791a226
      simonpj authored
      Comments only
      e791a226
    • simonpj's avatar
      [project @ 2004-04-21 08:43:43 by simonpj] · fccc859d
      simonpj authored
      Fix the OSTYPE test for Cygwin, and comment
      fccc859d
  3. 18 Apr, 2004 5 commits
  4. 16 Apr, 2004 1 commit
    • igloo's avatar
      [project @ 2004-04-16 02:02:44 by igloo] · 490fd965
      igloo authored
      Change the mangler to allow a tab before .section on sparc. Fixes a
      problem which shows up as symbols not being made global so not being
      defined when compiling with gcc >= 3.something.
      490fd965
  5. 13 Apr, 2004 2 commits
  6. 12 Apr, 2004 2 commits
  7. 07 Apr, 2004 1 commit
    • panne's avatar
      [project @ 2004-04-07 12:17:09 by panne] · 444a39a6
      panne authored
      A complete rewrite of ar-related tests:
      * Modularized the tests
      * Fixed (i.e. introduced :-) caching
      * Made the test for support of "-input" more robust
      444a39a6
  8. 06 Apr, 2004 4 commits
  9. 05 Apr, 2004 11 commits
  10. 02 Apr, 2004 7 commits
    • simonpj's avatar
      [project @ 2004-04-02 16:54:02 by simonpj] · 76fcd85d
      simonpj authored
      Another stage-2 wibble to last commit
      76fcd85d
    • simonpj's avatar
      [project @ 2004-04-02 16:51:45 by simonpj] · c244ae2a
      simonpj authored
      Wibble to last commit
      c244ae2a
    • simonpj's avatar
      [project @ 2004-04-02 16:46:57 by simonpj] · 40888e1d
      simonpj authored
      Extend the "newtype deriving" feature a little bit more
      (at the request of Wolfgang Jeltsch)
      
      Here's the example:
          class C a b
          instance C [a] Char
          newtype T = T Char deriving( C [a] )
      
      Perfectly sensible, and no reason it should not work.
      Fixing this required me to generalise the abstract syntax of
      a 'deriving' item, hence the non-local effects.
      40888e1d
    • simonmar's avatar
      [project @ 2004-04-02 14:28:57 by simonmar] · f216dd01
      simonmar authored
      Some updates I've had sitting in my tree for a while:
      
        - when there are two logs only, print a summary table at the beginning
          of the output with columns for allocs, runtime, memory reads/writes, instrs.
      
        - handle multiple runs of each program, and average the results. (changes
          to nofib build system to follow).
      f216dd01
    • simonmar's avatar
      [project @ 2004-04-02 14:22:30 by simonmar] · 8d0295c8
      simonmar authored
      cachegrind: update command line syntax for recent versions of valgrind
      8d0295c8
    • simonpj's avatar
      [project @ 2004-04-02 13:38:44 by simonpj] · 7010f47b
      simonpj authored
      Document -fno-state-hack
      7010f47b
    • simonpj's avatar
      [project @ 2004-04-02 13:34:42 by simonpj] · 52276d81
      simonpj authored
      Add a flag -fno-state-hack, which switches off the "state hack".
      
      It's claims that every function over realWorldStatePrimTy is a
      one-shot function.  This is pretty true in practice, and makes a big
      difference.  For example, consider
      	a `thenST` \ r -> ...E...
      The early full laziness pass, if it doesn't know that r is one-shot
      will pull out E (let's say it doesn't mention r) to give
      	let lvl = E in a `thenST` \ r -> ...lvl...
      When `thenST` gets inlined, we end up with
      	let lvl = E in \s -> case a s of (r, s') -> ...lvl...
      and we don't re-inline E.
      52276d81