diff options
author | sof <unknown> | 1999-03-02 14:34:38 +0000 |
---|---|---|
committer | sof <unknown> | 1999-03-02 14:34:38 +0000 |
commit | dc7d7a2f55bfd830755aa7040f93f07f3e72ac1e (patch) | |
tree | 18bb11006606b3bfa7b9865229b781ff0e8e0147 /ghc/compiler/codeGen/CgMonad.lhs | |
parent | 0554dc08d9e05e812d264a682679b798fce1ff78 (diff) | |
download | haskell-dc7d7a2f55bfd830755aa7040f93f07f3e72ac1e.tar.gz |
[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.
Diffstat (limited to 'ghc/compiler/codeGen/CgMonad.lhs')
-rw-r--r-- | ghc/compiler/codeGen/CgMonad.lhs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/compiler/codeGen/CgMonad.lhs b/ghc/compiler/codeGen/CgMonad.lhs index a9b6e41974..c3e029516a 100644 --- a/ghc/compiler/codeGen/CgMonad.lhs +++ b/ghc/compiler/codeGen/CgMonad.lhs @@ -1,7 +1,7 @@ % % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998 % -% $Id: CgMonad.lhs,v 1.17 1999/01/06 11:35:27 simonm Exp $ +% $Id: CgMonad.lhs,v 1.18 1999/03/02 14:34:38 sof Exp $ % \section[CgMonad]{The code generation monad} @@ -50,7 +50,7 @@ import AbsCSyn import AbsCUtils ( mkAbsCStmts ) import CmdLineOpts ( opt_SccProfilingOn, opt_DoTickyProfiling ) import CLabel ( CLabel, mkUpdEntryLabel ) -import OccName ( Module ) +import Module ( Module ) import DataCon ( ConTag ) import Id ( Id ) import VarEnv |