X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fprofiling%2FSCCfinal.lhs;h=b24840d6fb7c572e93a084d526d57851b8e59363;hb=6ee9554a738c442719ded861504acb729fd3d431;hp=e4d199ccd69302b6988f0835f7b15584fb520953;hpb=eb389b71b13d8a661cbb9d890f6033530723e21a;p=ghc-hetmet.git diff --git a/compiler/profiling/SCCfinal.lhs b/compiler/profiling/SCCfinal.lhs index e4d199c..b24840d 100644 --- a/compiler/profiling/SCCfinal.lhs +++ b/compiler/profiling/SCCfinal.lhs @@ -25,8 +25,6 @@ This is now a sort-of-normal STG-to-STG pass (WDP 94/06), run by stg2stg. \begin{code} module SCCfinal ( stgMassageForProfiling ) where --- XXX This define is a bit of a hack, and should be done more nicely -#define FAST_STRING_NOT_NEEDED 1 #include "HsVersions.h" import StgSyn @@ -282,7 +280,7 @@ boxHigherOrderArgs almost_expr args = do = do -- make a trivial let-binding for the top-level function uniq <- getUniqueMM let - new_var = mkSysLocal FSLIT("sf") uniq var_type + new_var = mkSysLocal (fsLit "sf") uniq var_type return ( (new_var, old_var) : bindings, StgVarArg new_var ) where var_type = idType old_var