1. 12 Jun, 2000 11 commits
  2. 11 Jun, 2000 2 commits
    • panne's avatar
      [project @ 2000-06-11 19:14:27 by panne] · 07ac1f9f
      panne authored
      * Synched comments with reality
      
      * Ensure that a f.e.d. function is never inlined, because the address
        of the C stub (a litlit) is might not be in scope in other modules.
        (untested fix).
      
      *** merge ***
      07ac1f9f
    • andy's avatar
      [project @ 2000-06-11 08:12:02 by andy] · ef879d15
      andy authored
      Adding change that handles trivial use of primitives (compares,
      integer arithmetic, etc) better when generating Java.
      ef879d15
  3. 10 Jun, 2000 1 commit
    • lewie's avatar
      [project @ 2000-06-10 00:34:52 by lewie] · 426e298e
      lewie authored
      Update instFunDepsOfTheta to accomodate Simon's recent commit (it hadn't
      needed to generate fundeps for IParams previously).  This undoes Simon's
      comment about `forall a. ?x::a => Int' being ambiguous.  It isn't, and
      now it isn't flagged as such either.  I.e, there's nothing wrong with:
          foo :: ?x::a => Int
          foo = fst (13, ?x)
      (of course, less contrived examples can also be given!).
      426e298e
  4. 09 Jun, 2000 9 commits
    • lewie's avatar
      [project @ 2000-06-09 23:28:34 by lewie] · d76863bb
      lewie authored
      Simon was kind enough to re-write elegantly a function that I had written
      awkwardly, but revealed that beautification doesn't always yield better
      code ;-)  Fixed a silly typo and further beautified the code (so that the
      cut-n-paster error that Simon introduced would have been easier to spot).
      d76863bb
    • simonmar's avatar
      [project @ 2000-06-09 16:21:30 by simonmar] · 18583b85
      simonmar authored
      ieee-flpt.h is in ../../includes, not ../includes.
      18583b85
    • simonpj's avatar
      [project @ 2000-06-09 15:53:12 by simonpj] · b610eca3
      simonpj authored
      GHC gets upset if you have types like
      
      	Eq a => a->a
      
      where 'a' is *not* universally quantified.
      By "upset" I mean that the typechecker generates
      rather bogus code, that subsequently kills Lint.
      
      Such types used to be rejected in the renamer,
      but Jeff removed that in favour of an ambiguity
      check in TcMonoType.  I remember agreeing to move
      the renamer check to the type checker, and Jeff did this,
      but the check in TcMonoType was only checking for
      *ambiguity*, which isn't quite the same.
      
      I've restored the missing check and commented it
      better in TcMonoType.
      
      Jeff: if this isn't right for you, let's dicuss.
      
      Incidentally, I also generalise the ambiguity check
      to detect
      	forall a. ?x::a => Int
      which is ambiguous.
      
      I did a few formatting changes too.
      b610eca3
    • simonmar's avatar
      [project @ 2000-06-09 15:15:25 by simonmar] · 45a3e562
      simonmar authored
      Don't group variable bindings with the same name together.  They
      should be flagged as duplicate definitions.
      45a3e562
    • simonmar's avatar
      [project @ 2000-06-09 13:48:46 by simonmar] · eb89bdda
      simonmar authored
      remove NonExhaustiveGuards exception
      eb89bdda
    • simonmar's avatar
      [project @ 2000-06-09 13:48:09 by simonmar] · dc5ae80c
      simonmar authored
      Guard failure will now throw a PatternMatchFail, the
      NonExhaustiveGuards exception is to be removed.
      dc5ae80c
    • simonmar's avatar
      [project @ 2000-06-09 11:01:58 by simonmar] · 0416c6e7
      simonmar authored
      Part of the -split-objs commit that I forgot yesterday.
      0416c6e7
    • simonpj's avatar
      [project @ 2000-06-09 07:32:31 by simonpj] · 3c1b89ab
      simonpj authored
      In my commit of 24 May I got this boolean condition
      back to front:
      
          tryWW non_rec fn_id rhs
            | not (isNeverInlinePrag inline_prag)
            =  -- Don't split things that will never be inlined
      
      The 'not' is obviously wrong!  As a result virtually nothing
      is being worker-wrapper'd
      
      How this has survived for more than two weeks beats me.
      3c1b89ab
    • andy's avatar
      [project @ 2000-06-09 00:43:55 by andy] · e7db662b
      andy authored
      Commiting version of the STG->GOO code generator that works with fib.
      e7db662b
  5. 08 Jun, 2000 14 commits
  6. 07 Jun, 2000 3 commits