- 01 Nov, 2006 12 commits
-
-
sof@galois.com authored
-
sof@galois.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
This patch fixes a long standing bug, Trac #179, and a recently reported one, Trac #963. The problem in both cases was an unconstrained type variable 'a', of kind argTypeKind (printed "??") or openTypeKind ("?"). At top level we now default the kind of such variables to liftedTypeKind ("*"). This is important because then instance declarations can match it. The defaulting function is called TcMType.zonkTopTyVar, and is commented. (Most of the extra lines in the patch are comments!)
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
When doing the fixpoint iteration for 'deriving' we have to be careful not to end up in a loop, even if we have -fallow-undecidable-instances. Test is tcfail169
-
simonpj@microsoft.com authored
Worker/wrapper generation sometimes has to add a dummy void (State#) argument to retain laziness. But when generating the strictness signature for the worker, I forgot to take account of the extra argument, resulting in a bogus strictness signature. Result, chaos. Trac 317 shows this up, and this patch fixes it.
-
- 30 Oct, 2006 1 commit
-
-
simonpj@microsoft.com authored
-
- 27 Oct, 2006 4 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 26 Oct, 2006 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 25 Oct, 2006 1 commit
-
-
Simon Marlow authored
-
- 26 Oct, 2006 1 commit
-
-
Simon Marlow authored
Fixes stage 2 build with -fvia-C
-
- 25 Oct, 2006 7 commits
-
-
andy@galois.com authored
-
andy@galois.com authored
-
andy@galois.com authored
-
andy@galois.com authored
-
andy@galois.com authored
-
chak@cse.unsw.edu.au. authored
-
andy@galois.com authored
-
- 24 Oct, 2006 3 commits
-
-
andy@galois.com authored
This large checkin is the new ghc version of Haskell Program Coverage, an expression-level coverage tool for Haskell. Parts: - Hpc.[ch] - small runtime support for Hpc; reading/writing *.tix files. - Coverage.lhs - Annotates the HsSyn with coverage tickboxes. - New Note's in Core, - TickBox -- ticked on entry to sub-expression - BinaryTickBox -- ticked on exit to sub-expression, depending -- on the boolean result. - New Stg level TickBox (no BinaryTickBoxes, though) You can run the coverage tool with -fhpc at compile time. Main must be compiled with -fhpc.
-
Simon Marlow authored
-
Simon Marlow authored
-
- 23 Oct, 2006 1 commit
-
-
wolfgang.thaller@gmx.net authored
-
- 24 Oct, 2006 2 commits
-
-
Simon Marlow authored
In preparation for parallel GC, split up the monolithic GC.c file into smaller parts. Also in this patch (and difficult to separate, unfortunatley): - Don't include Stable.h in Rts.h, instead just include it where necessary. - consistently use STATIC_INLINE in source files, and INLINE_HEADER in header files. STATIC_INLINE is now turned off when DEBUG is on, to make debugging easier. - The GC no longer takes the get_roots function as an argument. We weren't making use of this generalisation.
-
Simon Marlow authored
-
- 20 Oct, 2006 1 commit
-
-
Simon Marlow authored
-
- 19 Oct, 2006 5 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
I don't think this can ever be useful, because to add more roots you need to do it consistently for every GC. The right way to add roots is to use newStablePtr.
-