Generalise Package Support
[ghc-hetmet.git] / compiler / codeGen / CgProf.hs
index eee1083..9bbf05b 100644 (file)
@@ -292,7 +292,7 @@ emitCostCentreDecl
    -> Code
 emitCostCentreDecl cc = do 
   { label <- mkStringCLit (costCentreUserName cc)
-  ; modl  <- mkStringCLit (moduleString (cc_mod cc))
+  ; modl  <- mkStringCLit (showSDoc (pprModule (cc_mod cc)))
   ; let
      lits = [ zero,    -- StgInt ccID,
              label,    -- char *label,