summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix compiling GHC 6.7+ with itself - compat needs -package containers nowSimon Marlow2007-08-291-0/+1
|
* fix typoSimon Marlow2007-08-241-1/+1
|
* no -auto-all for CorePrepSimon Marlow2007-08-291-1/+1
|
* improvements to findPtr(), a useful hack for space-leak debugging in gdbSimon Marlow2007-08-291-18/+32
|
* fix up some old text, remove things that aren't true any moreSimon Marlow2007-08-281-48/+6
|
* Windows: remove the {Enter,Leave}CricialSection wrappersSimon Marlow2007-08-296-17/+10
| | | | | | The C-- parser was missing the "stdcall" calling convention for foreign calls, but once added we can call {Enter,Leave}CricialSection directly.
* WibblePepe Iborra2007-08-291-1/+1
|
* FIX: Remove accidential change to darcs-all in type families patchManuel M T Chakravarty2007-08-291-3/+2
| | | | | | | | - The type families patch includes a change to darcs-all that breaks it for ssh repos at least for Perl 5.8.8 (on MacOS). - My Perl-fu is not sufficient to try to fix the modification, which was supposed to improve darcs-all on windows, so I just revert to the old code.
* Remove INSTALL_INCLUDES; no longer usedIan Lynagh2007-08-281-8/+0
|
* Use DESTDIR when installingIan Lynagh2007-08-2810-78/+90
|
* Copy LICENSE files into the bindist, as Cabal now installs themIan Lynagh2007-08-281-0/+1
|
* Better handling of join points in spill cleaner2007-08-28Ben.Lippmeier@anu.edu.au2007-08-281-24/+256
|
* comment wibbleBen.Lippmeier@anu.edu.au2007-08-242-19/+4
|
* Add count of reg-reg moves remaining for linear allocator statsBen.Lippmeier@anu.edu.au2007-08-242-6/+29
|
* Add a count of how many spill/reloads/reg-reg-moves remain to dump-asm-statsBen.Lippmeier@anu.edu.au2007-08-242-27/+54
|
* Use INSTALL_HEADERS in includes/ rather than abusing INSTALL_DATASIan Lynagh2007-08-281-7/+4
|
* Make some header-installing machinery, and use it to install gmp.hIan Lynagh2007-08-283-2/+20
|
* Tidy up the gmp/ Makefile a bitIan Lynagh2007-08-281-17/+13
|
* :stepover ---> :steplocal, :stepmodulePepe Iborra2007-08-272-38/+30
| | | | | | | | | | | | | | | | | | | | :stepover is declared a failed experiment. :steplocal steps only on ticks contained in the current top level declaration. :stepmodule steps only on ticks contained on the current module. The current top level declaration and module are with respect to the breakpoint we are stopped on. The main reason for the failure of :stepover (apart from lacking a lexical call stack of course) is that it fails to detect when the expression being evaluated is "complete", i.e. there are no ticks left in it. My assumption of the rightmost tick as the "last one", signaling that the expression is completely evaluated, is not true at all under laziness. This assumption was key in the implementation of :stepover.
* Use a version of obtainTerm that takes a max depth boundPepe Iborra2007-08-274-20/+33
| | | | when printing the contents of binding at a breakpoint
* Be more careful when calculating the enclosing top level declaration of a ↵Pepe Iborra2007-08-271-7/+10
| | | | srcspan
* Style: remove trailing spacesPepe Iborra2007-08-261-23/+23
|
* Print contents of bindings when stopping at a breakpointPepe Iborra2007-08-264-30/+63
|
* A partial attempt to improve :stepoverPepe Iborra2007-08-243-51/+17
| | | | | | | | | | | | | | With this patch, :stepover can effectively appear to step over recursive calls and calls to locally bound functions (in a where clause). However, when we run out of ticks in the current expression, the illusion vanishes and laziness brings us to the body of the last function we "stepped over". This is not desired at all, it is potentially very confusing. As a countermeasure, when this happens :stepover emits a warning "Warning: no more breakpoints in this function body, switching to :step"
* Better document :stepover and its limitationsPepe Iborra2007-08-222-46/+3
| | | | | | | :stepover only works lexically locally, in the context of the current expression. I have tried to make this point clear in the users guide with an example.
* FIX #1533: foreign exporing the same identifier multiple times gave a link errorSimon Marlow2007-08-281-1/+13
| | | | | | | We were generating a new top-level binding derived from the name of the existing top-level name, and making the name external. Multiple instances therefore clashed. The fix is to make each name unique, by appending an actual Unique to the derived name.
* convert to use System.FilePathSimon Marlow2007-08-261-85/+8
|
* Refactoring only: remove [Id] field from ForeignStubsSimon Marlow2007-08-265-56/+50
| | | | | | | | | | | We used to pass the list of top-level foreign exported bindings to the code generator so that it could create StablePtrs for them in the stginit code. Now we don't use stginit unless profiling, and the StablePtrs are generated by C functions marked with attribute((constructor)). This patch removes various bits associated with the old way of doing things, which were previously left in place in case we wanted to switch back, I presume. Also I refactored dsForeigns to clean it up a bit.
* Type checking for type synonym familiesManuel M T Chakravarty2007-08-2832-645/+2348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces type checking for type families of which associated type synonyms are a special case. E.g. type family Sum n m type instance Sum Zero n = n type instance Sum (Succ n) m = Succ (Sum n m) where data Zero -- empty type data Succ n -- empty type In addition we support equational constraints of the form: ty1 ~ ty2 (where ty1 and ty2 are arbitrary tau types) in any context where type class constraints are already allowed, e.g. data Equals a b where Equals :: a ~ b => Equals a b The above two syntactical extensions are disabled by default. Enable with the -XTypeFamilies flag. For further documentation about the patch, see: * the master plan http://hackage.haskell.org/trac/ghc/wiki/TypeFunctions * the user-level documentation http://haskell.org/haskellwiki/GHC/Indexed_types The patch is mostly backwards compatible, except for: * Some error messages have been changed slightly. * Type checking of GADTs now requires a bit more type declarations: not only should the type of a GADT case scrutinee be given, but also that of any identifiers used in the branches and the return type. Please report any unexpected behavior and incomprehensible error message for existing code. Contributors (code and/or ideas): Tom Schrijvers Manuel Chakravarty Simon Peyton-Jones Martin Sulzmann with special thanks to Roman Leshchinskiy
* Fix retainer profilingBefore_type_family_mergeIan Lynagh2007-08-261-1/+1
|
* On Windows, stage1 also deps on stamp.inplace-gcc-libIan Lynagh2007-08-261-1/+7
|
* Synched GHC's .spec file with recent changessven.panne@aedion.de2007-08-261-1/+7
| | | | | | Fixed hsc2hs handling and added hpc binary. Explicitly generate Cabal docs. Note that the Haddock documentation is currently not in the right place, this needs more investigation, but at least we can build a valid RPM now.
* Check that exported modules were actually imported; fixes #1384Ian Lynagh2007-08-265-16/+40
|
* Be more flexible when trying to make scripts executablesven.panne@aedion.de2007-08-251-1/+3
|
* Don't put push-all and darcs-all in source distsIan Lynagh2007-08-251-1/+1
| | | | We don't have the _darcs directories, so they won't work.
* Add a missing "entryCode"Ian Lynagh2007-08-251-1/+1
| | | | | This was causing us to try to jump to the address of an infotable when unregisterised, leading to a segfault.
* Fix the IF_DEBUG(interpreter in StgCRun.cIan Lynagh2007-08-252-2/+4
|
* Add "Support SMP" and "RTS ways" to the compiler --info outputIan Lynagh2007-08-252-0/+4
|
* Overhaul boot scriptsven.panne@aedion.de2007-08-251-23/+22
| | | | | | * Call autoreconf only if necessary, avoiding a strict tool dependency. * Be a good *nix citizen and don't clutter the output when everything is fine. * Make a few more scripts executable.
* Added a few missing files to a source distributionsven.panne@aedion.de2007-08-251-1/+1
|
* Fixed test for pwd executablesven.panne@aedion.de2007-08-251-1/+1
| | | | | Added a missing "test" and replaced the "-e" option of the shell-builtin "test" with "-f". The former is not portable, see autoconf documentation.
* Jump through some hoops to make the Windows SEH exception stuff happyIan Lynagh2007-08-244-8/+30
|
* Check haddocking works when validatingIan Lynagh2007-08-241-2/+3
|
* Add "have interpreter" to the compiler --info outputIan Lynagh2007-08-242-0/+2
|
* In ghc-inplace, flush stdout after giving debugging outputIan Lynagh2007-08-241-0/+1
|
* Follow Array changes (adding numElements field)Ian Lynagh2007-08-105-25/+25
|
* Cabal upstream API change -- installPackage to use installDirTemplatesClemens Fruhwirth2007-08-241-2/+2
|
* Erase unneeded spill/reloads after register allocationBen.Lippmeier@anu.edu.au2007-08-243-7/+96
|
* Be more paranoid about not creating space leaks in coloring allocatorBen.Lippmeier@anu.edu.au2007-08-242-7/+22
|
* Show spill/reload pseudo instrs in regalloc stage dumpBen.Lippmeier@anu.edu.au2007-08-243-18/+26
|