[project @ 2000-11-21 15:41:10 by sewardj]
authorsewardj <unknown>
Tue, 21 Nov 2000 15:41:10 +0000 (15:41 +0000)
committersewardj <unknown>
Tue, 21 Nov 2000 15:41:10 +0000 (15:41 +0000)
Add dummy import dependency to CgExpr so that booting in batch mode works.

ghc/compiler/codeGen/CodeGen.lhs

index 462f0ff..2390765 100644 (file)
@@ -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