1. 09 Apr, 2003 3 commits
    • simonpj's avatar
      [project @ 2003-04-09 08:44:37 by simonpj] · d56e0dc8
      simonpj authored
      wibble
      d56e0dc8
    • simonpj's avatar
      [project @ 2003-04-09 08:07:58 by simonpj] · cf31797e
      simonpj authored
      -------------------------------------
            Fix a functional-dependency-related bug in
      		tcSimpifyRestricted
      	-------------------------------------
      
      	MERGE TO STABLE if it goes over conveniently
      		(but I rather think it may not)
      
      tcSimplifyRestricted works by (a) simplifying brutall to find out
      what the constrained type variables are, and (b) simplifying more
      gently, knowing the constrained type varaibles.  The bug is that
      in step (b) we were not doing the check-for-improvement-and-loop
      part, thinking that step (a) had alrady done all the improvement.
      But not so, as an example in the code now shows.
      
      Simple to fix.  I rather think we could tidy up these various loops.
      cf31797e
    • simonpj's avatar
      [project @ 2003-04-09 07:48:31 by simonpj] · 92cee1fc
      simonpj authored
      Comments
      92cee1fc
  2. 08 Apr, 2003 8 commits
  3. 06 Apr, 2003 1 commit
  4. 04 Apr, 2003 1 commit
    • reid's avatar
      [project @ 2003-04-04 09:11:02 by reid] · 9067e75f
      reid authored
      Missing commit from last night: Add GreenCard files, GreenCard derived files, etc. to the lists of sources so that make depend and make clean work
      9067e75f
  5. 02 Apr, 2003 1 commit
  6. 01 Apr, 2003 5 commits
    • sof's avatar
      [project @ 2003-04-01 17:09:40 by sof] · 0b0b8857
      sof authored
      updated and sync'ed wrt ClosureTypes.h
      0b0b8857
    • sof's avatar
      [project @ 2003-04-01 15:40:27 by sof] · a2c4ea52
      sof authored
      comment update
      a2c4ea52
    • sof's avatar
      [project @ 2003-04-01 15:28:20 by sof] · 1d87bd26
      sof authored
      Have Literal.Literal support the representation of NULL pointers only,
      and not arbitrary pointer values.
      
      (MachAddr <some-pointer-value-as-an-Integer>) wasn't being used,
      except to handle nullAddr#. It (MachAddr) is a potential source of
      problems should the compiler start doing constant folding or other
      interesting operations over MachAddrs (think: interface files +
      cross-compilation), so we might as well scale back the representation
      of raw pointer values.
      1d87bd26
    • sof's avatar
      [project @ 2003-04-01 15:05:13 by sof] · c49a6ca9
      sof authored
      Tidy up code that supports user/Haskell signal handlers.
      
      Signals.h now defines RTS_USER_SIGNALS when this is supported,
      which is then used elsewhere.
      c49a6ca9
    • simonmar's avatar
      [project @ 2003-04-01 09:35:13 by simonmar] · 999f8cf9
      simonmar authored
      Don't constant-fold (negateFloat# 0.0#), because the compiler's
      internal representation of floating-point literals (Rational) can't
      represent -0.0.  This means that
      
         main = print (-0.0)
      
      now gives the same results with -O as it does without.
      
      Fixes test arith005.
      999f8cf9
  7. 31 Mar, 2003 11 commits
  8. 29 Mar, 2003 2 commits
  9. 28 Mar, 2003 4 commits
  10. 27 Mar, 2003 4 commits
    • sof's avatar
      [project @ 2003-03-27 22:35:28 by sof] · cdc9f210
      sof authored
      be gone
      cdc9f210
    • sof's avatar
      [project @ 2003-03-27 17:59:09 by sof] · 6da62425
      sof authored
      NCG support for f.e.d. stdcall -- Literal.MachLabels now optionally carry
      the size (in bytes) of the stack frame it expects, if known. That just
      so happens to match what stdcall labels need to be annotated with when
      emitting them in the NCG..
      6da62425
    • simonmar's avatar
      [project @ 2003-03-27 13:54:31 by simonmar] · bf8b921f
      simonmar authored
      Two performance tweaks:
      
        - Use specialised indirections, which perform the right kind of
          return without needing to enter the object they point to.  This
          saves a small percentages of memory reads.
      
        - Tweak the update code to generate better code with gcc.  This
          saves a few instructions per update.
      bf8b921f
    • simonpj's avatar
      [project @ 2003-03-27 08:25:31 by simonpj] · b52d5ab7
      simonpj authored
      -------------------------------------
            Fix a wibble in default-type setting for TH
      	-------------------------------------
      
      When a bunch of declarations contains no 'default' declaration,
      we were setting 'defaultDefaultTys' as appropriate default types.
      This isn't right for Template Haskell, which may have more than
      one bunch of top-level decls.  (The bunches are separated by
      top-level declaration splices.)
      
      Instead, if there is no 'default' declaration we should do nothing.
      b52d5ab7