X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FHscMain.lhs;h=fee24c643e129e305d0f3fcad0150ac3eef88b3f;hp=bc2747a8917b5ac7012a2f6269a061f9f378a546;hb=5892af0e08fdb890b5a0b9a64346d9f7773a6ed8;hpb=c62b824e9e8808eb3845ddb1614494b0575eaafd diff --git a/compiler/main/HscMain.lhs b/compiler/main/HscMain.lhs index bc2747a..fee24c6 100644 --- a/compiler/main/HscMain.lhs +++ b/compiler/main/HscMain.lhs @@ -673,7 +673,7 @@ hscGenHardCode cgguts mod_summary then do cmms <- tryNewCodeGen hsc_env this_mod data_tycons dir_imps cost_centre_info stg_binds hpc_info - pprTrace "cmms" (ppr cmms) $ return cmms + return cmms else {-# SCC "CodeGen" #-} codeGen dflags this_mod data_tycons dir_imps cost_centre_info @@ -808,7 +808,7 @@ testCmmConversion hsc_env cmm = let zgraph = initUs_ us cvtm us <- mkSplitUniqSupply 'S' let topSRT = initUs_ us emptySRT - (topSRT, [cps_zgraph]) <- protoCmmCPSZ hsc_env (topSRT, []) zgraph + (_, [cps_zgraph]) <- protoCmmCPSZ hsc_env (topSRT, []) zgraph let chosen_graph = if dopt Opt_RunCPSZ dflags then cps_zgraph else zgraph dumpIfSet_dyn dflags Opt_D_dump_cmmz "C-- Zipper Graph" (ppr chosen_graph) showPass dflags "Convert from Z back to Cmm"