From 71cfbbf809d17426189be085758fe27d10a37346 Mon Sep 17 00:00:00 2001 From: sewardj Date: Tue, 21 Nov 2000 15:41:10 +0000 Subject: [PATCH] [project @ 2000-11-21 15:41:10 by sewardj] Add dummy import dependency to CgExpr so that booting in batch mode works. --- ghc/compiler/codeGen/CodeGen.lhs | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.10.4