From: sewardj Date: Tue, 21 Nov 2000 15:41:10 +0000 (+0000) Subject: [project @ 2000-11-21 15:41:10 by sewardj] X-Git-Tag: Approximately_9120_patches~3281 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=71cfbbf809d17426189be085758fe27d10a37346;p=ghc-hetmet.git [project @ 2000-11-21 15:41:10 by sewardj] Add dummy import dependency to CgExpr so that booting in batch mode works. --- diff --git a/ghc/compiler/codeGen/CodeGen.lhs b/ghc/compiler/codeGen/CodeGen.lhs index 462f0ff..2390765 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