ghc-hetmet.git
16 years agoDocument the compiler --info flag
Ian Lynagh [Sun, 19 Aug 2007 00:05:10 +0000 (00:05 +0000)]
Document the compiler --info flag

16 years agoImprove runghc's argument handling
Ian Lynagh [Sun, 19 Aug 2007 00:04:36 +0000 (00:04 +0000)]
Improve runghc's argument handling

16 years agoAdd some runghc docs to the users guide
Ian Lynagh [Sun, 19 Aug 2007 00:02:58 +0000 (00:02 +0000)]
Add some runghc docs to the users guide

16 years agoMake runghc warning-free and turn -Wall on in the Makefile
Ian Lynagh [Sat, 18 Aug 2007 22:42:46 +0000 (22:42 +0000)]
Make runghc warning-free and turn -Wall on in the Makefile

16 years agoMake the runghc code prettier and fix some warnings
Ian Lynagh [Sat, 18 Aug 2007 22:40:21 +0000 (22:40 +0000)]
Make the runghc code prettier and fix some warnings

16 years agoImplement --info, and change how can_split is defined
Ian Lynagh [Sat, 18 Aug 2007 22:37:58 +0000 (22:37 +0000)]
Implement --info, and change how can_split is defined
We now get the value of can_split from the SplitObjs setting in the
build system, rather than working out whether it should be possible
based on the platform.

16 years agoMake "runghc -f path-to-ghc Main.hs" work
Magnus Jonsson [Sun, 29 Jul 2007 21:02:30 +0000 (21:02 +0000)]
Make "runghc -f path-to-ghc Main.hs" work

16 years agoUpdate user guide bug list
Ian Lynagh [Sat, 18 Aug 2007 20:13:47 +0000 (20:13 +0000)]
Update user guide bug list
Remove the bug that claims GHC treats source files as ISO-8859-1 rather
than UTF8.

16 years agoUse the qualified name for catch
Ian Lynagh [Sat, 18 Aug 2007 19:44:36 +0000 (19:44 +0000)]
Use the qualified name for catch
Unqualified it's ambiguous with some configurations.

16 years agoAdd some invariants to OrdList
Ian Lynagh [Sat, 18 Aug 2007 13:21:02 +0000 (13:21 +0000)]
Add some invariants to OrdList
isNilOL is now constant time, rather than possibly having to walk a
tree of Two's. Compiling J.hs from trac #1136 now makes 10302 isNilOL
calls rather than 50050152. It's gone from 10.8% time to being unlisted
(i.e. <= 0.1%).

16 years agoFix trac #1565: :r DoesNotExist needs to remove any let-bound values
Ian Lynagh [Sat, 18 Aug 2007 15:22:50 +0000 (15:22 +0000)]
Fix trac #1565: :r DoesNotExist needs to remove any let-bound values

16 years agoFix passing double quotes to GHC on Windows
Ian Lynagh [Sat, 18 Aug 2007 13:54:31 +0000 (13:54 +0000)]
Fix passing double quotes to GHC on Windows

16 years agoMake :i (->) work; fixes trac #1587
Ian Lynagh [Fri, 17 Aug 2007 22:17:33 +0000 (22:17 +0000)]
Make :i (->) work; fixes trac #1587

16 years agoRemove dupliate "io (revertCAFs)" and discardActiveBreakPoints calls
Ian Lynagh [Fri, 17 Aug 2007 21:23:20 +0000 (21:23 +0000)]
Remove dupliate "io (revertCAFs)" and discardActiveBreakPoints calls

16 years agoAdd a comment that -Onot is deprecated
Ian Lynagh [Fri, 17 Aug 2007 20:36:31 +0000 (20:36 +0000)]
Add a comment that -Onot is deprecated

16 years agoAdd a GhcDebugged build setting, for whether GHC is linked with -debug
Ian Lynagh [Fri, 17 Aug 2007 20:36:07 +0000 (20:36 +0000)]
Add a GhcDebugged build setting, for whether GHC is linked with -debug

16 years agoMake ghc-inplace understand -v
Ian Lynagh [Fri, 17 Aug 2007 17:59:44 +0000 (17:59 +0000)]
Make ghc-inplace understand -v
If the first arg is -v, make ghc-inplace print out the real GHC path
and extra flags it adds

16 years agoDon't freeProfiling1 until after calling reportCCSProfiling
Ian Lynagh [Fri, 17 Aug 2007 15:02:05 +0000 (15:02 +0000)]
Don't freeProfiling1 until after calling reportCCSProfiling
Fixes usage of free'd memory

16 years agoFix description and type profiling
Ian Lynagh [Fri, 17 Aug 2007 14:45:31 +0000 (14:45 +0000)]
Fix description and type profiling
Consistently make the type and description in the info table an offset
or a pointer, depending on whether tables are next to code or not.

16 years agoCompute max_era more simply
Ian Lynagh [Thu, 16 Aug 2007 23:05:50 +0000 (23:05 +0000)]
Compute max_era more simply

16 years agoDocument +RTS --info, and make it a Read'able Haskell value
Ian Lynagh [Thu, 16 Aug 2007 18:32:59 +0000 (18:32 +0000)]
Document +RTS --info, and make it a Read'able Haskell value

16 years agoFix the threaded RTS on Windows
Ian Lynagh [Thu, 16 Aug 2007 15:45:16 +0000 (15:45 +0000)]
Fix the threaded RTS on Windows
When calling EnterCriticalSection and LeaveCriticalSection from C--
code, we go via wrappers which use ccall (rather than stdcall).

16 years agoAdd newline to end of Hpc.hs
Ian Lynagh [Thu, 16 Aug 2007 15:09:00 +0000 (15:09 +0000)]
Add newline to end of Hpc.hs

16 years agoConvert the remaining _scc_s in the GHC source to pragmas
Ian Lynagh [Thu, 16 Aug 2007 15:07:08 +0000 (15:07 +0000)]
Convert the remaining _scc_s in the GHC source to pragmas

16 years agoOptimise Digraph.postOrd, used when finding strongly connected components
Ian Lynagh [Thu, 16 Aug 2007 02:15:14 +0000 (02:15 +0000)]
Optimise Digraph.postOrd, used when finding strongly connected components

16 years agoReplace _scc_'s in the GHC source with SCC pragmas
Ian Lynagh [Thu, 16 Aug 2007 01:22:24 +0000 (01:22 +0000)]
Replace _scc_'s in the GHC source with SCC pragmas

16 years agoAdd a deprecated warning for _scc_
Ian Lynagh [Thu, 16 Aug 2007 01:08:40 +0000 (01:08 +0000)]
Add a deprecated warning for _scc_

16 years agoMake dependencies of source files on Makefiles disableable
Ian Lynagh [Thu, 16 Aug 2007 01:07:40 +0000 (01:07 +0000)]
Make dependencies of source files on Makefiles disableable
Avoids lots of unnecessary recmopilation when you're fiddling with
Makefiles.

16 years agoCosmetic changes only
Ian Lynagh [Wed, 15 Aug 2007 23:28:21 +0000 (23:28 +0000)]
Cosmetic changes only

16 years agoStop ghc-6.7 linking in ghc-inplace.o
Ian Lynagh [Wed, 15 Aug 2007 17:36:49 +0000 (17:36 +0000)]
Stop ghc-6.7 linking in ghc-inplace.o

16 years agoUse a C program for ghc-inplace
Ian Lynagh [Wed, 15 Aug 2007 17:27:07 +0000 (17:27 +0000)]
Use a C program for ghc-inplace

16 years agoDocument :stepover in ghci help
Pepe Iborra [Thu, 16 Aug 2007 09:49:44 +0000 (09:49 +0000)]
Document :stepover in ghci help

16 years agoSteal the bold trick from :list for :history
Pepe Iborra [Wed, 15 Aug 2007 16:11:35 +0000 (16:11 +0000)]
Steal the bold trick from :list for :history

16 years agoTeach :history to show the name of the enclosing declaration
Pepe Iborra [Wed, 15 Aug 2007 16:11:30 +0000 (16:11 +0000)]
Teach :history to show the name of the enclosing declaration
 together with src locs

Purely for convenience and user friendliness

16 years agoGeneralize some code dealing with SrcSpan sorting
Pepe Iborra [Tue, 14 Aug 2007 16:19:53 +0000 (16:19 +0000)]
Generalize some code dealing with SrcSpan sorting
and the subspan relation, and move it to the SrcLoc module

16 years agoA new :stepover command for the debugger
Pepe Iborra [Thu, 9 Aug 2007 20:11:49 +0000 (20:11 +0000)]
A new :stepover command for the debugger

  Step from statement to statement without leaving the block.
  Tries to do the sensible thing when used on expressions.

      The idea is to:
      1 - Step to the next breakpoint and examine the srcloc
      2 - If it is contained in the same statement block as we were,
          then stop and give control to the user,
        else continue to the next breakpoint
      3 - Repeat from 1. If we reach the end of the statement block,
          i.e. no more ticks in this expression after the current one,
          then step normally.

  Replace statement block with 'declaration block' (of an expression) in the
  pseudo algo. above.
  Let's see how well this idea works in practice...

16 years ago:step does not delete the :history anymore, and now it logs like :trace
Pepe Iborra [Thu, 9 Aug 2007 20:11:21 +0000 (20:11 +0000)]
:step does not delete the :history anymore, and now it logs like :trace

16 years agoFunctor instance for the GHCi monad
Pepe Iborra [Thu, 9 Aug 2007 16:09:33 +0000 (16:09 +0000)]
Functor instance for the GHCi monad

16 years agoFix building GHC with profiling
Ian Lynagh [Wed, 15 Aug 2007 13:02:42 +0000 (13:02 +0000)]
Fix building GHC with profiling

16 years agoFix the build when GMP_INCLUDE_DIRS == ""
Ian Lynagh [Wed, 15 Aug 2007 11:14:32 +0000 (11:14 +0000)]
Fix the build when GMP_INCLUDE_DIRS == ""

16 years agoFix build with external gmp library.
gwright@antiope.com [Mon, 13 Aug 2007 12:42:11 +0000 (12:42 +0000)]
Fix build with external gmp library.

ghc fails to build if you use an external gmp library. This is because
ghc requires the header file gmp.h, which used to be provided by the
internal gmp source code.  The file gmp.h is no longer part of the
gmp source code, but is generated as part of the build procedure.
If an external gmp is specified, the internal gmp is not build and the
gmp.h file never gets generated.

Of course, it was a bad idea anyway to use a header file from a potentially
different version of the library.

The patch sets HAVE_LIB_GMP if the gmp library is found during configuration
and conditionalizes including the library header file on it.

16 years agoUpdate config.sub and config.guess
Ian Lynagh [Tue, 14 Aug 2007 14:30:32 +0000 (14:30 +0000)]
Update config.sub and config.guess

16 years agoUse lookupOrig to find built-in NDP-related names
Roman Leshchinskiy [Wed, 15 Aug 2007 03:06:05 +0000 (03:06 +0000)]
Use lookupOrig to find built-in NDP-related names

16 years agoImplicitly import NDP stuff when vectorising
Roman Leshchinskiy [Tue, 7 Aug 2007 04:39:07 +0000 (04:39 +0000)]
Implicitly import NDP stuff when vectorising

We add the following declaration to all vectorised modules:

  import qualified <NDP interface module> as :NDP

This allows us to refer to NDP stuff by RdrName later on but does not expose
NDP names to the user's code.

16 years agofix typo in ghci.xml
Bertram Felgenhauer [Sun, 12 Aug 2007 13:22:01 +0000 (13:22 +0000)]
fix typo in ghci.xml

16 years agoAdd bytestring to core-packages
Ian Lynagh [Sun, 12 Aug 2007 16:36:45 +0000 (16:36 +0000)]
Add bytestring to core-packages

16 years agoFix installation (we need to use the right ghc-pkg)
Ian Lynagh [Sun, 12 Aug 2007 12:48:11 +0000 (12:48 +0000)]
Fix installation (we need to use the right ghc-pkg)

16 years agoGet closer to GhcCompilerWays=p working
Ian Lynagh [Sun, 12 Aug 2007 12:27:34 +0000 (12:27 +0000)]
Get closer to GhcCompilerWays=p working
We also now have GhcThreaded rather than GhcNotThreaded.

16 years agoAdd a type sig
Ian Lynagh [Sat, 11 Aug 2007 00:34:24 +0000 (00:34 +0000)]
Add a type sig

16 years agoSplit off packedstring and array packages
Ian Lynagh [Wed, 1 Aug 2007 23:53:18 +0000 (23:53 +0000)]
Split off packedstring and array packages

16 years agoAdd a containers package
Ian Lynagh [Wed, 1 Aug 2007 22:39:45 +0000 (22:39 +0000)]
Add a containers package

16 years agoTweak package build order
Ian Lynagh [Sun, 29 Jul 2007 21:51:41 +0000 (21:51 +0000)]
Tweak package build order

16 years agobytestring is now in its own package
Ian Lynagh [Sun, 29 Jul 2007 11:53:47 +0000 (11:53 +0000)]
bytestring is now in its own package

16 years agomore cmpFS refactoring
Isaac Dupree [Tue, 7 Aug 2007 00:12:48 +0000 (00:12 +0000)]
more cmpFS refactoring

16 years agouse 'compare' when using the law of trichotomy
Isaac Dupree [Mon, 6 Aug 2007 23:52:43 +0000 (23:52 +0000)]
use 'compare' when using the law of trichotomy

16 years agouse {-# UNPACK #-} !Int rather than explicit Int# (#1405)
Isaac Dupree [Mon, 6 Aug 2007 23:44:28 +0000 (23:44 +0000)]
use {-# UNPACK #-} !Int rather than explicit Int# (#1405)

16 years agoRemove a duplicate case
Ian Lynagh [Fri, 10 Aug 2007 11:57:44 +0000 (11:57 +0000)]
Remove a duplicate case

16 years agoChange standalone deriving syntax and semantics; fixes trac #1481
Ian Lynagh [Fri, 10 Aug 2007 22:37:28 +0000 (22:37 +0000)]
Change standalone deriving syntax and semantics; fixes trac #1481
You now say
    deriving instance Cxt => Head

16 years agoProperly guard imports because they have to be precise on Windows and Darwin sets...
Clemens Fruhwirth [Fri, 10 Aug 2007 15:10:45 +0000 (15:10 +0000)]
Properly guard imports because they have to be precise on Windows and Darwin sets __PIC__ automatically

16 years agoAdd explicit imports for RTS-external variables
Clemens Fruhwirth [Mon, 6 Aug 2007 08:49:38 +0000 (08:49 +0000)]
Add explicit imports for RTS-external variables

16 years agoImprove error message (part of Trac #1606)
simonpj@microsoft.com [Fri, 10 Aug 2007 08:33:12 +0000 (08:33 +0000)]
Improve error message (part of Trac #1606)

16 years agoPrint fewer parens when pretty-printing HsSyn
simonpj@microsoft.com [Thu, 9 Aug 2007 22:33:29 +0000 (22:33 +0000)]
Print fewer parens when pretty-printing HsSyn

16 years agoPrint more "..." in long lists of declarations
simonpj@microsoft.com [Thu, 9 Aug 2007 22:32:28 +0000 (22:32 +0000)]
Print more "..." in long lists of declarations

16 years agoBuild RTS as dynamic library
Clemens Fruhwirth [Wed, 8 Aug 2007 06:50:43 +0000 (06:50 +0000)]
Build RTS as dynamic library

16 years agoIntroduce new class for external symbols in Linker.c that use __imp__<sym> instead...
Clemens Fruhwirth [Mon, 6 Aug 2007 08:44:49 +0000 (08:44 +0000)]
Introduce new class for external symbols in Linker.c that use __imp__<sym> instead of &<sym>

16 years agoMake the new functions accessible from the vectorisation monad
Roman Leshchinskiy [Wed, 8 Aug 2007 06:56:21 +0000 (06:56 +0000)]
Make the new functions accessible from the vectorisation monad

16 years agoAdd more NDP functions to PrelNames
Roman Leshchinskiy [Wed, 8 Aug 2007 06:55:59 +0000 (06:55 +0000)]
Add more NDP functions to PrelNames

16 years agoPA functions are no longer methods
Roman Leshchinskiy [Wed, 8 Aug 2007 06:48:34 +0000 (06:48 +0000)]
PA functions are no longer methods

16 years agoVectorise Case on products
Roman Leshchinskiy [Wed, 8 Aug 2007 05:04:33 +0000 (05:04 +0000)]
Vectorise Case on products

16 years agoUtility functions for accessing parallel array representations
Roman Leshchinskiy [Wed, 8 Aug 2007 04:10:32 +0000 (04:10 +0000)]
Utility functions for accessing parallel array representations

16 years agoFix bug in vectorised DataCon worker generation
Roman Leshchinskiy [Wed, 8 Aug 2007 02:02:57 +0000 (02:02 +0000)]
Fix bug in vectorised DataCon worker generation

16 years agoUse dataConTag in flattened array representation
Roman Leshchinskiy [Wed, 8 Aug 2007 01:49:16 +0000 (01:49 +0000)]
Use dataConTag in flattened array representation

16 years agoAdd built-in PA dictionary for closures
Roman Leshchinskiy [Wed, 8 Aug 2007 01:48:59 +0000 (01:48 +0000)]
Add built-in PA dictionary for closures

16 years agoModify PA dictionary generation to the new record-based scheme
Roman Leshchinskiy [Tue, 7 Aug 2007 06:21:01 +0000 (06:21 +0000)]
Modify PA dictionary generation to the new record-based scheme

16 years agoChange DataCon worker vectorisation to use PA records
Roman Leshchinskiy [Tue, 7 Aug 2007 06:05:53 +0000 (06:05 +0000)]
Change DataCon worker vectorisation to use PA records

16 years agoAdd built-in PA dictionaries for boxed tuples
Roman Leshchinskiy [Tue, 7 Aug 2007 06:05:24 +0000 (06:05 +0000)]
Add built-in PA dictionaries for boxed tuples

16 years agoTrace more vectorisation failures
Roman Leshchinskiy [Tue, 7 Aug 2007 05:31:45 +0000 (05:31 +0000)]
Trace more vectorisation failures

16 years agoMove code
Roman Leshchinskiy [Tue, 7 Aug 2007 05:24:29 +0000 (05:24 +0000)]
Move code

16 years agoRemove dead code
Roman Leshchinskiy [Tue, 7 Aug 2007 05:21:36 +0000 (05:21 +0000)]
Remove dead code

16 years agoAssociate vectorised tycons with their PA dfuns
Roman Leshchinskiy [Tue, 7 Aug 2007 05:20:32 +0000 (05:20 +0000)]
Associate vectorised tycons with their PA dfuns

16 years agoPA is now an explicit record instead of a typeclass
Roman Leshchinskiy [Tue, 7 Aug 2007 05:10:52 +0000 (05:10 +0000)]
PA is now an explicit record instead of a typeclass

16 years agoImplicitly import NDP stuff when vectorising
Roman Leshchinskiy [Tue, 7 Aug 2007 04:39:07 +0000 (04:39 +0000)]
Implicitly import NDP stuff when vectorising

We add the following declaration to all vectorised modules:

  import qualified <NDP interface module> as :NDP

This allows us to refer to NDP stuff by RdrName later on but does not expose
NDP names to the user's code.

16 years agoSupport for using built-in PA dictionaries for some types
Roman Leshchinskiy [Tue, 7 Aug 2007 02:31:54 +0000 (02:31 +0000)]
Support for using built-in PA dictionaries for some types

16 years agoUtility functions for accessing the RdrEnv during vectorisation
Roman Leshchinskiy [Tue, 7 Aug 2007 02:28:18 +0000 (02:28 +0000)]
Utility functions for accessing the RdrEnv during vectorisation

16 years agoAdd RdrEnv to vectorisation state
Roman Leshchinskiy [Tue, 7 Aug 2007 02:27:18 +0000 (02:27 +0000)]
Add RdrEnv to vectorisation state

16 years agoAdd utility functions for accessing PA info during vectorisation
Roman Leshchinskiy [Fri, 3 Aug 2007 03:02:37 +0000 (03:02 +0000)]
Add utility functions for accessing PA info during vectorisation

16 years agoMake sure PA dfuns are keyed on the vectorised tycon in VectInfo
Roman Leshchinskiy [Fri, 3 Aug 2007 03:00:31 +0000 (03:00 +0000)]
Make sure PA dfuns are keyed on the vectorised tycon in VectInfo

16 years agoAdd PA dfuns to VectMonad state
Roman Leshchinskiy [Fri, 3 Aug 2007 02:50:14 +0000 (02:50 +0000)]
Add PA dfuns to VectMonad state

16 years agoFix grouping by module in the mi_exports, for indexed data type families
simonpj@microsoft.com [Thu, 9 Aug 2007 16:47:46 +0000 (16:47 +0000)]
Fix grouping by module in the mi_exports, for indexed data type families

This is a little tricky.  See Note [Original module] in MkIface.

16 years agoTrim imports
simonpj@microsoft.com [Thu, 9 Aug 2007 15:37:55 +0000 (15:37 +0000)]
Trim imports

16 years agoRename a constructor CmmForeignCall to CmmCallee, and tidy Cmm code
simonpj@microsoft.com [Thu, 9 Aug 2007 15:37:37 +0000 (15:37 +0000)]
Rename a constructor CmmForeignCall to CmmCallee, and tidy Cmm code

This patch should have no effect; it's mainly comments, layout,
plus this contructor name change.

16 years agoTidy up the treatment of newtypes, refactor, and fix Trac #736
simonpj@microsoft.com [Thu, 9 Aug 2007 15:34:37 +0000 (15:34 +0000)]
Tidy up the treatment of newtypes, refactor, and fix Trac #736

I've forgotten the precise details already, but this patch
significantly refactors the way newtypes are handled, fixes
the foreign-export problem Trac #736 (which concerned newtypes),
and gets rid of a bogus unsafeCoerce in the foreign export
desugaring.

16 years agoImprovd documentation for overlapping instances
simonpj@microsoft.com [Thu, 9 Aug 2007 15:18:39 +0000 (15:18 +0000)]
Improvd documentation for overlapping instances

16 years agoBetter scoring for loop breakers; fixes simplifier loop in nofib/minimax
simonpj@microsoft.com [Thu, 9 Aug 2007 15:14:57 +0000 (15:14 +0000)]
Better scoring for loop breakers; fixes simplifier loop in nofib/minimax

See Note [Inline candidates] in OccurAnal.  We were getting a recursive
loop exposed, which led to infinite inlinings.  Doesn't bite much, but
was obviously wrong.

I've change the "scoring order" for loop breakers, which could possibly
have a performance impact on other programs.  A full nofib run exposed
a 0.00% change in allocation in any nofib program, so I don't think it's
likely, but keep an eye out.

16 years agoRemove dead code
simonpj@microsoft.com [Fri, 3 Aug 2007 09:31:07 +0000 (09:31 +0000)]
Remove dead code

16 years agoCabal depends on -package unix when GHC <= 6.2
Simon Marlow [Thu, 9 Aug 2007 10:01:39 +0000 (10:01 +0000)]
Cabal depends on -package unix when GHC <= 6.2

16 years agojoinToTargets to emit fixup code even when movement graph contains cycles
Clemens Fruhwirth [Sat, 14 Jul 2007 08:32:41 +0000 (08:32 +0000)]
joinToTargets to emit fixup code even when movement graph contains cycles

First, cycles can only start of with registers and their destination
must involve a register location. This is because memory locations are
allocated exclusively for a virtual register and hence can never cause
a conflict in the assignment, hence need no fixup code. Therefore, we
only have to deal with InReg -> InReg, or InReg -> InReg/InMem
movements.

The strategy is to take the first cycle element, which is guaranteed
to start with a register, spill it to a fresh memory location, compute
the fixup for the rest, and restore from the spill slot to its
destinations. The "rest" will degenerate into an acyclic scc, so we do
not need take care of the empty list case in CyclicScc.
 ***END OF DESCRIPTION***

Place the long patch description above the ***END OF DESCRIPTION*** marker.
The first line of this file will be the patch name.

This patch contains the following changes:

M ./compiler/nativeGen/RegisterAlloc.hs -6 +27

16 years agoMake SpecConstr specialise for constant arguments again
simonpj@microsoft.com [Sun, 5 Aug 2007 22:03:35 +0000 (22:03 +0000)]
Make SpecConstr specialise for constant arguments again

Consider
  lvl = Just True

  foo :: Maybe Bool -> Int -> Int
  foo (Just True) i = i
  foo _           i = foo lvl i

SpecConstr should specialise foo, but it wasn't doing so (spotted
by Roman).

Reason: lvl's unfolding wasn't in the cloned version of lvl.
Solution: extend the value environment to record top-level bindings too

At the same time I made it work if 'lvl' is a lambda, in which case it
is again worth specialisg.  This meant renaming ConEnv to ValueEnv,
and adding a case for 'LambdaVal'.

(To make specialisation on lambdas work properly, we have to do lambda
lifting as well, but this gets part of the way, and fixes a bug too.)

16 years agoComments only: explain why StgConApp is still useful
simonpj@microsoft.com [Sun, 5 Aug 2007 21:44:04 +0000 (21:44 +0000)]
Comments only: explain why StgConApp is still useful

16 years agoAdd missing case to sizeofPrimRep
simonpj@microsoft.com [Sat, 4 Aug 2007 17:47:59 +0000 (17:47 +0000)]
Add missing case to sizeofPrimRep