X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FTidyPgm.lhs;h=6f44bca63a13e74012ead3029727b5a23e16e0d9;hb=922e0665b1362dded58d9aa8bc474663e29dd3fe;hp=a8dede8aa16443f16bc8e50e5fc5f00b291931ca;hpb=8100cd4395e46ae747be4298c181a4730d6206bc;p=ghc-hetmet.git diff --git a/compiler/main/TidyPgm.lhs b/compiler/main/TidyPgm.lhs index a8dede8..6f44bca 100644 --- a/compiler/main/TidyPgm.lhs +++ b/compiler/main/TidyPgm.lhs @@ -124,7 +124,8 @@ mkBootModDetails hsc_env (ModGuts { mg_module = mod , mg_exports = exports , mg_types = type_env , mg_insts = insts - , mg_fam_insts = fam_insts }) + , mg_fam_insts = fam_insts, + mg_dbg_sites = sites }) = do { let dflags = hsc_dflags hsc_env ; showPass dflags "Tidy [hoot] type env" @@ -138,7 +139,8 @@ mkBootModDetails hsc_env (ModGuts { mg_module = mod , md_insts = insts' , md_fam_insts = fam_insts , md_rules = [] - , md_exports = exports }) + , md_exports = exports + , md_dbg_sites = sites}) } where @@ -241,7 +243,8 @@ tidyProgram hsc_env mg_rules = imp_rules, mg_dir_imps = dir_imps, mg_deps = deps, mg_foreign = foreign_stubs, - mg_hpc_info = hpc_info }) + mg_hpc_info = hpc_info, + mg_dbg_sites = sites }) = do { let dflags = hsc_dflags hsc_env ; showPass dflags "Tidy Core" @@ -299,7 +302,8 @@ tidyProgram hsc_env md_rules = tidy_rules, md_insts = tidy_insts, md_fam_insts = fam_insts, - md_exports = exports }) + md_exports = exports, + md_dbg_sites = sites }) } lookup_dfun type_env dfun_id