patch applied (ghc): Fix typo in comment

2007-08-23 Thread Michael Adams
Sun Aug 5 22:06:55 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fix typo in comment M ./compiler/codeGen/CgHeapery.lhs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Added a case for non-zero arity INFO_TABLE_FUN to the Cmm parser.

2007-08-23 Thread Michael Adams
Sun Aug 5 22:00:19 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Added a case for non-zero arity INFO_TABLE_FUN to the Cmm parser. This is needed in order to write Main_main from pure Cmm. M ./compiler/cmm/CmmParse.y +13 ___ Cvs-ghc mailing

patch applied (ghc): Change to the Cmm syntax. Put gc_block before update_frame.

2007-08-23 Thread Michael Adams
Sun Aug 5 21:50:11 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Change to the Cmm syntax. Put gc_block before update_frame. This order matches the symantic order better since the GC check is done before the update frame is pushed. M ./compiler/cmm/CmmParse.y -10 +10 ___

patch applied (ghc): Fix the calling convention order in the CPS

2007-08-23 Thread Michael Adams
Sun Aug 5 21:48:11 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fix the calling convention order in the CPS It now matches the order used by the existing codeGen. M ./compiler/cmm/CmmCallConv.hs -11 +12 ___ Cvs-ghc mailing list Cvs-ghc@hask

patch applied (ghc): Build fix: modBreaks -> modBreaks_decls modbreaks

2007-08-22 Thread Michael Adams
Wed Aug 22 11:36:32 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Build fix: modBreaks -> modBreaks_decls modbreaks M ./compiler/main/InteractiveEval.hs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/

patch applied (ghc): Made the label generation in the Cmm parser more direct

2007-07-18 Thread Michael Adams
Wed Jul 18 13:33:00 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Made the label generation in the Cmm parser more direct M ./compiler/cmm/CLabel.hs -7 +1 M ./compiler/cmm/CmmParse.y -16 +11 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http

patch applied (ghc): Typo fix in comment

2007-07-18 Thread Michael Adams
Mon Jul 16 11:29:06 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Typo fix in comment M ./compiler/codeGen/CgUtils.hs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Properly parse GC blocks for functions with info tables

2007-07-15 Thread Michael Adams
Sun Jul 15 13:41:16 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Properly parse GC blocks for functions with info tables M ./compiler/cmm/CmmParse.y -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs

patch applied (ghc): Removed 'allow_header_set' argument from 'pack_continuation'.

2007-07-15 Thread Michael Adams
Sun Jul 15 13:22:35 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Removed 'allow_header_set' argument from 'pack_continuation'. Because branches might now go to continuations and become calls to continuations, 'allow_header_set' isn't always correct. Removing that parameter makes the co

patch applied (ghc): Fixed conditional branches to proc points

2007-07-15 Thread Michael Adams
Sun Jul 15 13:20:33 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed conditional branches to proc points These could occur due to GC checks. M ./compiler/cmm/CmmCPS.hs -1 +1 M ./compiler/cmm/CmmCPSGen.hs -26 +40 ___ Cvs-ghc mailing lis

patch applied (ghc): Removed unused variable from compiler/cmm/CmmCPS.hs

2007-07-15 Thread Michael Adams
Sun Jul 15 13:17:17 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Removed unused variable from compiler/cmm/CmmCPS.hs M ./compiler/cmm/CmmCPS.hs -2 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Removed unused import from compiler/cmm/CmmCPS.hs

2007-07-15 Thread Michael Adams
Sun Jul 15 13:16:38 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Removed unused import from compiler/cmm/CmmCPS.hs M ./compiler/cmm/CmmCPS.hs -1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Keep the CPS pass from creating proc points due to unreachable parents.

2007-07-15 Thread Michael Adams
Sun Jul 15 09:20:03 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Keep the CPS pass from creating proc points due to unreachable parents. The parser/flattener will generate an extra block after an if/else statement even if both branches exit the function. So it is possible for the i

patch applied (ghc): Fixed CPS to account for info tables not being next to code

2007-07-15 Thread Michael Adams
Sat Jul 14 18:11:41 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed CPS to account for info tables not being next to code M ./compiler/cmm/CmmCPSGen.hs -1 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listin

patch applied (ghc): Fix the CPS pass to pack the continuation with correct label form.

2007-07-15 Thread Michael Adams
Sat Jul 14 11:49:55 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fix the CPS pass to pack the continuation with correct label form. It was using the return point label before; now it uses the info label. M ./compiler/cmm/CmmCPSGen.hs -1 +1 _

patch applied (ghc): Warning Police: Unused imports

2007-07-13 Thread Michael Adams
Fri Jul 13 13:19:13 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Warning Police: Unused imports M ./compat/Compat/Directory.hs -1 +1 M ./compiler/basicTypes/Unique.lhs -1 M ./compiler/utils/Util.lhs -3 +7 M ./utils/genprimopcode/Lexer.x -1 +1 M ./utils/genprimopcode/Parse

patch applied (ghc): Warning Police: No newline at end of file

2007-07-13 Thread Michael Adams
Fri Jul 13 13:40:28 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Warning Police: No newline at end of file M ./utils/hpc/Hpc.hs +1 M ./utils/hpc/HpcShowTix.hs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailma

patch applied (ghc): Added libraries/parallel to .darcs-boring

2007-07-13 Thread Michael Adams
Fri Jul 13 11:21:17 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Added libraries/parallel to .darcs-boring M ./.darcs-boring +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (testsuite): Added tests for Cmm and CPS (they are currently skipped)

2007-07-06 Thread Michael Adams
Fri Jul 6 02:25:48 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Added tests for Cmm and CPS (they are currently skipped) Also the test driver doesn't understand 'cmm' files so something will have to be written before these tests can even run. A ./tests/ghc-regress/cps/ A ./tes

patch applied (ghc): Added comment to the Cmm parser showing code for use one CPS is enabled

2007-07-06 Thread Michael Adams
Thu Jul 5 10:07:03 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Added comment to the Cmm parser showing code for use one CPS is enabled M ./compiler/cmm/CmmParse.y +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): Eliminated use of 'fromJust' from the CPS pass

2007-07-06 Thread Michael Adams
Thu Jul 5 10:06:37 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Eliminated use of 'fromJust' from the CPS pass M ./compiler/cmm/CmmCPSGen.hs -2 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Fixed a bug in the CPS pass

2007-07-06 Thread Michael Adams
Thu Jul 5 10:05:15 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed a bug in the CPS pass M ./compiler/cmm/CmmCPSGen.hs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Updated the call to the CPS pass for the factoring out of cmmToRawCmm

2007-07-06 Thread Michael Adams
Thu Jul 5 07:50:31 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Updated the call to the CPS pass for the factoring out of cmmToRawCmm That call was and is commented out, but it serves as documentation for when the CPS pass will be turned on. M ./compiler/main/HscMain.lhs -2 +2

patch applied (ghc): Added support for GC block declaration to the Cmm syntax

2007-07-06 Thread Michael Adams
Thu Jul 5 07:48:20 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Added support for GC block declaration to the Cmm syntax M ./compiler/cmm/Cmm.hs -1 +1 M ./compiler/cmm/CmmCPS.hs -50 +31 M ./compiler/cmm/CmmCPSGen.hs -19 +8 M ./compiler/cmm/CmmParse.y -9 +16 M ./compiler/

patch applied (ghc): Ensure no statements after CmmReturn are emitted

2007-07-06 Thread Michael Adams
Thu Jul 5 02:47:02 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Ensure no statements after CmmReturn are emitted M ./compiler/codeGen/CgMonad.lhs +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Warning Police

2007-07-05 Thread Michael Adams
Thu Jul 5 07:29:36 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Warning Police M ./compiler/cmm/CmmOpt.hs -1 M ./compiler/codeGen/CgPrimOp.hs -3 M ./compiler/ghci/ByteCodeAsm.lhs -3 +3 M ./compiler/nativeGen/AsmCodeGen.lhs -1 M ./compiler/nativeGen/MachCodeGen.hs -1

patch applied (ghc): Added support for update frames to the CPS pass

2007-07-04 Thread Michael Adams
Tue Jul 3 14:44:13 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Added support for update frames to the CPS pass (This required a bit of refactoring of CmmInfo.) M ./compiler/cmm/Cmm.hs -5 +17 M ./compiler/cmm/CmmCPS.hs -34 +44 M ./compiler/cmm/CmmCPSGen.hs -34 +63 M ./comp

patch applied (ghc): Fix error message in CPS pass

2007-07-04 Thread Michael Adams
Tue Jul 3 14:25:55 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fix error message in CPS pass M ./compiler/cmm/CmmProcPoint.hs -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Factor cmmToRawCmm completely out of CPS

2007-07-04 Thread Michael Adams
Tue Jul 3 14:17:34 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Factor cmmToRawCmm completely out of CPS This patch also fixes how the CPS handles functions with an empty body. Factoring cmmToRawCmm out of the CPS pass made that fix easier. M ./compiler/cmm/CmmCPS.hs -9 +12 ___

patch applied (ghc): Remove dead code in the CPS pass

2007-07-04 Thread Michael Adams
Tue Jul 3 02:47:35 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Remove dead code in the CPS pass M ./compiler/cmm/CmmCPS.hs -11 +5 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Minor formatting cleanup.

2007-07-04 Thread Michael Adams
Tue Jul 3 02:36:25 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Minor formatting cleanup. M ./compiler/cmm/CmmCPS.hs -2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Moved 'continuationToProc' into a separate file, 'CmmCPSGen.hs'.

2007-07-04 Thread Michael Adams
Tue Jul 3 02:34:44 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Moved 'continuationToProc' into a separate file, 'CmmCPSGen.hs'. M ./compiler/cmm/CmmCPS.hs -451 +1 A ./compiler/cmm/CmmCPSGen.hs ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

patch applied (ghc): Finished support for foreign calls in the CPS pass

2007-07-04 Thread Michael Adams
Tue Jul 3 02:13:20 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Finished support for foreign calls in the CPS pass M ./compiler/cmm/CmmBrokenBlock.hs -2 +24 M ./compiler/cmm/CmmCPS.hs -15 +209 M ./compiler/cmm/CmmUtils.hs +28 ___ Cvs-

patch applied (ghc): Multiple improvements to CPS algorithm.

2007-07-04 Thread Michael Adams
Mon Jul 2 01:42:21 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Multiple improvements to CPS algorithm. These include: - Stack size detection now includes function arguments. - Stack size detection now avoids stack checks just because of the GC block. - A CmmCall followed by

patch applied (ghc): Allow safety information on calls in Cmm files

2007-07-04 Thread Michael Adams
Thu Jun 28 03:11:33 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Allow safety information on calls in Cmm files M ./compiler/cmm/CmmParse.y -11 +37 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Fixed a documentation error

2007-06-28 Thread Michael Adams
Fri Jun 8 02:11:57 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed a documentation error M ./compiler/codeGen/Bitmap.hs -2 +2 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (testsuite): Test for Trac #1396

2007-05-31 Thread Michael Adams
Thu May 31 08:44:32 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Test for Trac #1396 M ./tests/ghc-regress/gadt/all.T +3 A ./tests/ghc-regress/gadt/gadt24.hs ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listi

patch applied (ghc): Removed defunct compiler/codeGen/CgUsages.hi-boot-6

2007-05-27 Thread Michael Adams
Fri May 25 13:51:26 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Removed defunct compiler/codeGen/CgUsages.hi-boot-6 R ./compiler/codeGen/CgUsages.hi-boot-6 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/c

patch applied (ghc): Keep flattenCgStmts from emitting spurious ' goto' after CmmSwitch

2007-05-21 Thread Michael Adams
Mon May 21 04:29:12 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Keep flattenCgStmts from emitting spurious 'goto' after CmmSwitch M ./compiler/codeGen/CgMonad.lhs +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/

patch applied (ghc): Fixed copy-and-paste error in the machOps of compiler/cmm/CmmParse.y

2007-05-20 Thread Michael Adams
Fri May 11 06:25:57 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed copy-and-paste error in the machOps of compiler/cmm/CmmParse.y M ./compiler/cmm/CmmParse.y -3 +3 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman

patch applied (ghc): Removed UNBOX_FIELD from HsVersions.h since it is not used anywhere.

2007-05-20 Thread Michael Adams
Fri May 11 03:53:22 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Removed UNBOX_FIELD from HsVersions.h since it is not used anywhere. M ./compiler/HsVersions.h -6 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/list

patch applied (ghc): Fixed a minor redundancy in the C-- lexer

2007-05-20 Thread Michael Adams
Thu May 10 08:14:54 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed a minor redundancy in the C-- lexer M ./compiler/cmm/CmmLex.x -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Fixed the C-- lexer to comply with the standard on hex escape sequences.

2007-05-20 Thread Michael Adams
Thu May 10 08:03:50 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed the C-- lexer to comply with the standard on hex escape sequences. The C-- standard [1] says in Section 3.3.5 "Character literals" that: - the hex escape sequence "must contain at least one and at most two hexdig

patch applied (ghc): Documented the Unicode tricks that are being played in the lexers

2007-05-20 Thread Michael Adams
Thu May 10 07:59:35 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Documented the Unicode tricks that are being played in the lexers M ./compiler/cmm/CmmLex.x -3 +3 M ./compiler/parser/Lexer.x -6 +9 ___ Cvs-ghc mailing list Cvs-ghc@haskell.o

patch applied (ghc): Fixed apparent typo in STRICT1(f) of HsVersions.h

2007-05-20 Thread Michael Adams
Fri May 4 07:23:25 PDT 2007 Michael D. Adams <[EMAIL PROTECTED]> * Fixed apparent typo in STRICT1(f) of HsVersions.h M ./compiler/HsVersions.h -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc