summaryrefslogtreecommitdiff
path: root/ghc/compiler/codeGen/CodeGen.lhs
Commit message (Collapse)AuthorAgeFilesLines
...
* [project @ 2000-03-16 12:37:05 by simonmar]simonmar2000-03-161-7/+6
| | | | | Clean up the module initialisation stuff a bit, and add support for module initialisation blocks in the native code generator.
* [project @ 2000-03-08 17:48:24 by simonmar]simonmar2000-03-081-37/+65
| | | | | | | | | | | | | | | - generalise the per-module initialisation stubs so that we use it in normal (non-profiled) code too. The initialisation stubs are now called '__init_<module>' rather than '_reg<module>'. - Register foreign exported functions as stable pointers in the initialisation code for the module. This fixes the foreign export problems reported by several people. - remove the concept of "module groups" from the profiling subsystem. - change the profiling semantics slightly; it should be unnecessary to use '-caf-all' to get reasonable profiles now.
* [project @ 1999-06-09 14:28:37 by simonmar]simonmar1999-06-091-1/+1
| | | | | Move some code around to reduce the linkage between CgMonad and CgBindery, and make the .hi-boot-5 file compatible with both 4.02 and 4.03.
* [project @ 1999-05-18 15:03:33 by simonpj]simonpj1999-05-181-44/+61
| | | | RULES-NOTES
* [project @ 1999-03-11 11:32:22 by simonm]simonm1999-03-111-3/+5
| | | | | Save a few bytes by ommitting the static link field on closures with an empty SRT.
* [project @ 1999-03-02 14:34:33 by sof]sof1999-03-021-1/+1
| | | | | | | | | | | | | - import list tweaks - moved the code that decides that a StgCon really shouldn't be mapped to a static constructor but an updateable thunk if it contains lit-lits from the codegen into the CoreToStg translation. Added an extra case to this code to deal with StgCon's that contain references to values that reside in a DLL, where we also have to opt for an updateable thunk instead of a static constructor. Only applies when compiling on/for Win32 platforms.
* [project @ 1999-01-27 14:51:14 by simonpj]simonpj1999-01-271-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Finally! This commits the ongoing saga of Simon's hygiene sweep FUNCTIONALITY ~~~~~~~~~~~~~ a) The 'unused variable' warnings from the renamer work. b) Better error messages here and there, esp type checker c) Fixities for Haskell 98 (maybe I'd done that before) d) Lazy reporting of name clashes for Haskell 98 (ditto) HYGIENE ~~~~~~~ a) type OccName has its own module. OccNames are represented by a single FastString, not three as in the last round. This string is held in Z-encoded form; a decoding function decodes for printing in user error messages. There's a nice tight encoding for (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,) b) type Module is a proper ADT, in module OccName c) type RdrName is a proper ADT, in its own module d) type Name has a new, somwhat tidier, representation e) much grunting in the renamer to get Provenances right. This makes error messages look better (no spurious qualifiers)
* [project @ 1998-12-18 17:40:31 by simonpj]simonpj1998-12-181-6/+6
| | | | | | | | | | | | | | | | | | | | | Another big commit from Simon. Actually, the last one didn't all go into the main trunk; because of a CVS glitch it ended up in the wrong branch. So this commit includes: * Scoped type variables * Warnings for unused variables should work now (they didn't before) * Simplifier improvements: - Much better treatment of strict arguments - Better treatment of bottoming Ids - No need for w/w split for fns that are merely strict - Fewer iterations needed, I hope * Less gratuitous renaming in interface files and abs C * OccName is a separate module, and is an abstract data type I think the whole Prelude and Exts libraries compile correctly. Something isn't quite right about typechecking existentials though.
* [project @ 1998-12-02 13:17:09 by simonm]simonm1998-12-021-37/+66
| | | | Move 4.01 onto the main trunk.
* [project @ 1998-01-08 18:03:08 by simonm]simonm1998-01-081-6/+4
| | | | | | | | | | | | | | | | | | | The Great Multi-Parameter Type Classes Merge. Notes from Simon (abridged): * Multi-parameter type classes are fully implemented. * Error messages from the type checker should be noticeably improved * Warnings for unused bindings (-fwarn-unused-names) * many other minor bug fixes. Internally there are the following changes * Removal of Haskell 1.2 compatibility. * Dramatic clean-up of the PprStyle stuff. * The type Type has been substantially changed. * The dictionary for each class is represented by a new data type for that purpose, rather than by a tuple.
* [project @ 1997-10-23 18:26:26 by sof]sof1997-10-231-1/+1
| | | | One square bracket too many
* [project @ 1997-10-19 21:48:43 by sof]sof1997-10-191-10/+5
| | | | Removed use of opt_CompilingGhcInternals
* [project @ 1997-05-19 00:12:10 by sof]sof1997-05-191-0/+5
| | | | 2.04 changes
* [project @ 1997-03-14 07:52:06 by simonpj]simonpj1997-03-141-5/+2
| | | | Major update to more-or-less 2.02
* [project @ 1996-12-19 09:10:02 by simonpj]simonpj1996-12-191-2/+2
| | | | SLPJ new renamer and lots more
* [project @ 1996-06-30 15:56:44 by partain]partain1996-06-301-0/+2
| | | | partain 1.3 changes through 960629
* [project @ 1996-06-26 10:26:00 by partain]partain1996-06-261-2/+2
| | | | SLPJ 1.3 changes through 96/06/25
* [project @ 1996-06-05 06:44:31 by partain]partain1996-06-051-1/+1
| | | | SLPJ changes through 960604
* [project @ 1996-04-10 18:10:47 by partain]partain1996-04-101-1/+1
| | | | Add SLPJ/WDP 1.3 changes through 960410
* [project @ 1996-04-09 10:27:46 by partain]partain1996-04-091-2/+2
| | | | Sansom 1.3 changes through 960408
* [project @ 1996-04-05 08:26:04 by partain]partain1996-04-051-16/+21
| | | | Add SLPJ/WDP 1.3 changes through 960404
* [project @ 1996-03-19 08:58:34 by partain]partain1996-03-191-49/+18
| | | | simonpj/sansom/partain/dnt 1.3 compiler stuff through 96/03/18
* [project @ 1996-01-18 16:33:17 by partain]partain1996-01-181-15/+13
| | | | Alleged post-Sansom 0.27+ code
* [project @ 1996-01-11 14:06:51 by partain]partain1996-01-111-8/+28
|
* [project @ 1996-01-08 20:28:12 by partain]partain1996-01-081-0/+177
Initial revision