[project @ 1998-03-12 20:04:47 by sof]
authorsof <unknown>
Thu, 12 Mar 1998 20:04:47 +0000 (20:04 +0000)
committersof <unknown>
Thu, 12 Mar 1998 20:04:47 +0000 (20:04 +0000)
scc printing: Only output duplicated flag in scc label when debugging

ghc/compiler/profiling/CostCentre.lhs

index 6992df7..d04e255 100644 (file)
@@ -424,7 +424,7 @@ uppCostCentre print_as_string cc
        do_id id = getOccString id
 
     ---------------
-    do_dupd sty ADupdCC str = if (friendly_sty sty) then str ++ "/DUPD" else str
+    do_dupd sty ADupdCC str = if (debugStyle sty) then str ++ "/DUPD" else str
     do_dupd _   _       str = str
 \end{code}