[project @ 2002-01-28 17:09:05 by simonmar]
authorsimonmar <unknown>
Mon, 28 Jan 2002 17:09:05 +0000 (17:09 +0000)
committersimonmar <unknown>
Mon, 28 Jan 2002 17:09:05 +0000 (17:09 +0000)
commit8de7cb84a9de88b8d2db923d25b9adbdd6df09fc
tree7690c05e1d8d128ee566992a0772c8e3792a6137
parent0d62bdb2c5b17caf2595855f4dd30b65e6a70aeb
[project @ 2002-01-28 17:09:05 by simonmar]
Catch up with recent changes in the middle end that changed the
assumptions about constructor applications: it is not necessarily the
case any more that constructor applications are always saturated in
the output from CorePrep.

For a non-saturated constructor application there is always a curried
worker function that can be called instead.  This change updates the
byte code generator to use the curried worker when necessary.

Also: a couple of micro-optimisations/cleanups.
ghc/compiler/ghci/ByteCodeGen.lhs