summaryrefslogtreecommitdiff
path: root/ghc/compiler/codeGen/CodeGen.lhs
diff options
context:
space:
mode:
authorsewardj <unknown>2000-11-21 15:41:10 +0000
committersewardj <unknown>2000-11-21 15:41:10 +0000
commit71cfbbf809d17426189be085758fe27d10a37346 (patch)
treedb4340a3fef408d2a82b87a92010c72ae1868c1f /ghc/compiler/codeGen/CodeGen.lhs
parent6e0ec24764afcf7679661a74a67fdd23f2f8a624 (diff)
downloadhaskell-71cfbbf809d17426189be085758fe27d10a37346.tar.gz
[project @ 2000-11-21 15:41:10 by sewardj]
Add dummy import dependency to CgExpr so that booting in batch mode works.
Diffstat (limited to 'ghc/compiler/codeGen/CodeGen.lhs')
-rw-r--r--ghc/compiler/codeGen/CodeGen.lhs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/compiler/codeGen/CodeGen.lhs b/ghc/compiler/codeGen/CodeGen.lhs
index 462f0ff4d7..2390765aff 100644
--- a/ghc/compiler/codeGen/CodeGen.lhs
+++ b/ghc/compiler/codeGen/CodeGen.lhs
@@ -19,6 +19,11 @@ module CodeGen ( codeGen ) where
#include "HsVersions.h"
+-- Kludge (??) so that CgExpr is reached via at least one non-SOURCE
+-- import. Before, that wasn't the case, and CM therefore didn't
+-- bother to compile it.
+import CgExpr ( {-NOTHING!-} ) -- DO NOT DELETE THIS IMPORT
+
import StgSyn
import CgMonad
import AbsCSyn