X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FdeSugar%2FDsBinds.lhs;h=c43f98596d58b553ad3111084c09428643e04b6f;hb=de896403dfe48bc999e5501eb8b517624dd2e5d4;hp=2131f60c273806ed2636cb508a448f41d1384471;hpb=54e6a4e1fc2313e5462973d8988b714efd6ab9e5;p=ghc-hetmet.git diff --git a/ghc/compiler/deSugar/DsBinds.lhs b/ghc/compiler/deSugar/DsBinds.lhs index 2131f60..c43f985 100644 --- a/ghc/compiler/deSugar/DsBinds.lhs +++ b/ghc/compiler/deSugar/DsBinds.lhs @@ -205,8 +205,8 @@ addAutoScc :: AutoScc -- if needs be, decorate toplevs? addAutoScc (TopLevelAddSccs auto_scc_fn) pair@(bndr, core_expr) | do_auto_scc && worthSCC core_expr - = getModuleAndGroupDs `thenDs` \ (mod,grp) -> - returnDs (bndr, Note (SCC (mkAutoCC top_bndr mod grp NotCafCC)) core_expr) + = getModuleDs `thenDs` \ mod -> + returnDs (bndr, Note (SCC (mkAutoCC top_bndr mod NotCafCC)) core_expr) where do_auto_scc = isJust maybe_auto_scc maybe_auto_scc = auto_scc_fn bndr (Just top_bndr) = maybe_auto_scc