From 256157996384c1decf853eb19956b1df3317ffa0 Mon Sep 17 00:00:00 2001 From: sewardj Date: Thu, 12 Oct 2000 16:04:40 +0000 Subject: [PATCH] [project @ 2000-10-12 16:04:40 by sewardj] Propagation. --- ghc/compiler/stgSyn/StgInterp.lhs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/stgSyn/StgInterp.lhs b/ghc/compiler/stgSyn/StgInterp.lhs index 76a4fcd..08ef24d 100644 --- a/ghc/compiler/stgSyn/StgInterp.lhs +++ b/ghc/compiler/stgSyn/StgInterp.lhs @@ -61,6 +61,8 @@ import Bits import Storable import CTypes import FastString +import GlaExts ( Int(..) ) +import Module ( moduleNameFS ) #endif import TyCon ( TyCon, isDataTyCon, tyConFamilySize, tyConDataCons ) @@ -550,7 +552,8 @@ lookupVar ce f v = -- HACK!!! ToDo: cleaner rdrNameToCLabel :: RdrName -> String{-suffix-} -> String rdrNameToCLabel rn suffix = - _UNPK_(rdrNameModule rn) ++ '_':occNameString(rdrNameOcc rn) ++ '_':suffix + _UNPK_(moduleNameFS (rdrNameModule rn)) + ++ '_':occNameString(rdrNameOcc rn) ++ '_':suffix linkAlgAlts ie ce = map (linkAlgAlt ie ce) linkAlgAlt ie ce (AltAlg tag args rhs) = AltAlg tag args (linkIExpr ie ce rhs) -- 1.7.10.4