X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FcodeGen%2FCgBindery.lhs;h=534fa9499b76895e0e76be673b31b1a052e2bf18;hb=68afb16743cafd5b7495771d359891c6dfc5a186;hp=4d17fc1a6267feba861a9133a991f50affa58dee;hpb=7d61cb61daa5e433a0cb85b34b7f0c58b2f961ff;p=ghc-hetmet.git diff --git a/ghc/compiler/codeGen/CgBindery.lhs b/ghc/compiler/codeGen/CgBindery.lhs index 4d17fc1..534fa94 100644 --- a/ghc/compiler/codeGen/CgBindery.lhs +++ b/ghc/compiler/codeGen/CgBindery.lhs @@ -44,7 +44,10 @@ import Id ( idPrimRep, toplevelishId, isDataCon, GenId{-instance NamedThing-} ) import Maybes ( catMaybes ) +import Name ( isLocallyDefined ) +#ifdef DEBUG import PprAbsC ( pprAmode ) +#endif import PprStyle ( PprStyle(..) ) import StgSyn ( StgArg(..), StgLiveVars(..), GenStgArg(..) ) import Unpretty ( uppShow ) @@ -122,7 +125,7 @@ newTempAmodeAndIdInfo :: Id -> LambdaFormInfo -> (CAddrMode, CgIdInfo) newTempAmodeAndIdInfo name lf_info = (temp_amode, temp_idinfo) where - uniq = getItsUnique name + uniq = uniqueOf name temp_amode = CTemp uniq (idPrimRep name) temp_idinfo = tempIdInfo name uniq lf_info