[project @ 1999-03-02 14:34:33 by sof]
authorsof <unknown>
Tue, 2 Mar 1999 14:34:38 +0000 (14:34 +0000)
committersof <unknown>
Tue, 2 Mar 1999 14:34:38 +0000 (14:34 +0000)
commitdc7d7a2f55bfd830755aa7040f93f07f3e72ac1e
tree18bb11006606b3bfa7b9865229b781ff0e8e0147
parent0554dc08d9e05e812d264a682679b798fce1ff78
[project @ 1999-03-02 14:34:33 by sof]
- import list tweaks
- moved the code that decides that a StgCon really shouldn't
  be mapped to a static constructor but an updateable thunk
  if it contains lit-lits from the codegen into the CoreToStg
  translation.

  Added an extra case to this code to deal with StgCon's that contain
  references to values that reside in a DLL, where we also have to
  opt for an updateable thunk instead of a static constructor. Only
  applies when compiling on/for Win32 platforms.
ghc/compiler/codeGen/CgClosure.lhs
ghc/compiler/codeGen/CgCon.lhs
ghc/compiler/codeGen/CgMonad.lhs
ghc/compiler/codeGen/CodeGen.lhs
ghc/compiler/simplStg/LambdaLift.lhs
ghc/compiler/simplStg/SRT.lhs
ghc/compiler/simplStg/SimplStg.lhs
ghc/compiler/stgSyn/CoreToStg.lhs