cvs commit: fptools/ghc/compiler/codeGen CgBindery.lhs CgMonad.lhs

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Mon, 15 Oct 2001 09:03:05 -0700


simonpj     2001/10/15 09:03:04 PDT

  Modified files:
    ghc/compiler/codeGen CgBindery.lhs CgMonad.lhs 
  Log:
  	--------------------------
  	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.
  
  Revision  Changes    Path
  1.42      +28 -23    fptools/ghc/compiler/codeGen/CgBindery.lhs
  1.31      +2 -2      fptools/ghc/compiler/codeGen/CgMonad.lhs