summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* More hacking on monad-compmonad-compSimon Peyton Jones2011-05-038-1258/+1033
| | | | | | Lots of refactoring. In particular I have now combined TansformStmt and GroupStmt into a single constructor TransStmt. This gives lots of useful code sharing.
* More on monad-comp; an intermediate state, so don't pullSimon Peyton Jones2011-05-026-74/+85
|
* More hacking on monad-comp; now worksSimon Peyton Jones2011-05-0216-501/+412
|
* Simon's hacking on monad-comp; incompleteSimon Peyton Jones2011-04-2914-642/+670
|
* Merge remote branch 'origin/master' into monad-compSimon Peyton Jones2011-04-2879-1064/+1202
|\ | | | | | | | | Conflicts: compiler/main/HscMain.lhs
| * Merge boot and boot-pkgsIan Lynagh2011-04-282-154/+162
| | | | | | | | | | | | | | There is no longer any need for them to be separate, and this way we don't have to call perl from the boot script. This is particularly useful when perl isn't where we expect it to be (#5154).
| * configure: bootstrapping fix (#5155)Ian Lynagh2011-04-281-5/+8
| | | | | | | | Don't check ghc compiles for the right platform when we're bootstrapping.
| * Output ELF .size directives for functionsJohan Tibell2011-04-281-0/+10
| | | | | | | | | | This allows tools like Linux's perf events to display symbol names for CMM primops.
| * Fix bug in multi-destination jump patching.Edward Z. Yang2011-04-271-1/+1
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
| * Implement jump table fix-ups for linear register allocator.Edward Z. Yang2011-04-2710-63/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | We achieve this by splitting up instruction selection for case switches into two parts: the actual code generation, and the generation of the accompanying jump table. With this scheme, the jump fixup code can modify the contents of the jump table stored within the JMP_TBL (or BCTL) instruction, before the actual data section is created. SPARC and PPC patches are untested; they might not work! Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
| * Eliminate GC check when no extra stack is used.Edward Z. Yang2011-04-272-4/+14
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
| * Give manifestSP better information about the actual SP location.Edward Z. Yang2011-04-273-31/+121
| | | | | | | | | | | | | | This patch fixes silliness where the SP pointer is continually bumped up and down. Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
| * Ignore failure for "./sync-all checkout"Ian Lynagh2011-04-271-0/+2
| | | | | | | | Not all repos are necessarily branched.
| * Add checkout support to sync-allIan Lynagh2011-04-271-0/+5
| |
| * Skip missing directories for real.Matthias Kilian2011-04-271-14/+8
| | | | | | | | While here, make the code a little bit more readable.
| * Merge branch 'master' of http://darcs.haskell.org/ghcU-EUROPE\dimitris2011-04-2721-230/+358
| |\
| | * Merge branch 'master' of /Users/benl/devel/ghc/ghc-headBen Lippmeier2011-04-2797-1220/+1234
| | |\
| | | * Merge branch 'master' of http://darcs.haskell.org/ghcIan Lynagh2011-04-2714-165/+144
| | | |\
| | | | * Formatting wibble in GhcMake.hsDavid Terei2011-04-261-6/+3
| | | | |
| | | | * Fix some warnings and formatting in HsDeclsDavid Terei2011-04-261-19/+11
| | | | |
| | | | * Formatting fixes to TcForeign.lhsDavid Terei2011-04-261-77/+76
| | | | |
| | | | * Trim some trailing spacesDavid Terei2011-04-262-8/+7
| | | | |
| | | | * Add missing eol marker in RnSource.lhsDavid Terei2011-04-261-1/+1
| | | | |
| | | | * Fix some small errors in commentsDavid Terei2011-04-262-4/+3
| | | | |
| | | | * Share some work in MkIfaceDavid Terei2011-04-261-17/+17
| | | | |
| | | | * Formatting wibbleDavid Terei2011-04-261-1/+1
| | | | |
| | | | * Formatting fixes in Lexer.xDavid Terei2011-04-261-21/+21
| | | | |
| | | | * Remove unused importsDavid Terei2011-04-261-2/+0
| | | | |
| | | | * Fix warnings in HsImpExp.lhsDavid Terei2011-04-261-8/+3
| | | | |
| | | | * Fix spelling mistake in commentDavid Terei2011-04-261-1/+1
| | | | |
| | | * | Build system: Tell hsc2hs where to find cabal_macros.hIan Lynagh2011-04-271-0/+2
| | | | |
| | | * | Whitespace only in rules/distdir-way-opts.mkIan Lynagh2011-04-271-3/+3
| | | |/
| | | * cmm-notes updates.Edward Z. Yang2011-04-261-13/+16
| | | | | | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
| | | * Raw versions of if and switch.Edward Z. Yang2011-04-261-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the following statements valid C--, which uses the block ID directly rather than generating an anonymous block: if (expr) goto foo; switch expr { case 0: goto foo; case 1: goto bar; } Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
| | * | Run a CSE pass after vectorisation. This cleans up common sub-expressions ↵Ben Lippmeier2011-04-271-3/+11
| | | | | | | | | | | | | | | | introduced by the vectoriser. It has no effect unless -fvectorise is enabled.
| | * | Document flags to suppress unwanted info in core dumps.Ben Lippmeier2011-04-272-31/+153
| | | |
| | * | Merge branch 'master' of /Users/benl/devel/ghc/ghc-headBen Lippmeier2011-04-159-38/+54
| | |\ \
| | * | | Don't -dsuppress-uniques with -dsuppress-allBen Lippmeier2011-04-141-7/+9
| | | | |
| * | | | Solving one IP from another. This fixes #5120.U-EUROPE\dimitris2011-04-271-3/+10
| | |_|/ | |/| |
| * | | Derive some Typeable instancesIan Lynagh2011-04-247-22/+16
| | | | | | | | | | | | | | | | | | | | We were using the Typeable.hs macros, but for no good reason as far as I can tell.
| * | | Update time library 1.2.0.3 -> 1.2.0.4Ian Lynagh2011-04-242-0/+0
| | | |
| * | | "perl command" should be perl, not gcc!Ian Lynagh2011-04-231-1/+1
| | | |
| * | | Fix warnings in DynFlagsIan Lynagh2011-04-231-9/+12
| | | | | | | | | | | | | | | | | | | | I also made the -ffloat-all-lams flag not take an argument, as it just ignored it.
| * | | Rename "GCC command" to "C compiler command"Ian Lynagh2011-04-233-3/+3
| | | | | | | | | | | | | | | | | | | | Makes it consistent with the existing "C compiler flags" field.
| * | | Get CC_STAGE0 from the bootstrapping compilerIan Lynagh2011-04-233-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | Rather than using the compiler that configure detects, we use the "GCC command" field from the --info output of the bootstrapping compiler (provided it is >= 7.1).
| * | | Add stage-specific versions of more ar-related makefile varsIan Lynagh2011-04-234-5/+20
| | | |
| * | | Remove unused ArSupportsInput makefile varIan Lynagh2011-04-233-28/+0
| | | |
| * | | Remove now-unused BASH makefile variableIan Lynagh2011-04-231-3/+0
| | | |
| * | | Make and use AR_STAGE[0123] makefile varsIan Lynagh2011-04-235-5/+12
| | | |
| * | | Remove now-unused compiler/Makefile.localIan Lynagh2011-04-231-75/+0
| | | |