[project @ 2001-10-15 16:03:04 by simonpj]
authorsimonpj <unknown>
Mon, 15 Oct 2001 16:03:04 +0000 (16:03 +0000)
committersimonpj <unknown>
Mon, 15 Oct 2001 16:03:04 +0000 (16:03 +0000)
commit5e65c9fef4d73b3109ea9b1063f0e14850ae9af1
treeff735106c7b50391111ef4438b363655df00716c
parent713b32a591db467a8e9e266ffa3a3bf453b7d4c3
[project @ 2001-10-15 16:03:04 by simonpj]
--------------------------
Tidy up arity propagation (the saga continues)
--------------------------

Turns out that it's not as easy as I thought.

The code generator was assuming that (not . isLocalName) was enough to
identify an imported thing (whose CgInfo should be right), but that's
not true.  Needs more thought.

Meanwhile, I've made the code generator a bit more sensible about how
it looks things up.  But there's still a problem for GHCi: the
unfoldings in the TypeEnv won't have CgIdInfo stuff.  Sigh.  Thinks.
ghc/compiler/codeGen/CgBindery.lhs
ghc/compiler/codeGen/CgMonad.lhs