X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmInfo.hs;h=d77488c1ab242768eee0a11a7efc402c09550c96;hb=67760c45fc0b18bdd21d31b0462f4ad7ee4d2c4c;hp=520566d693e8c778f3a84beee531858359f7047a;hpb=3704620a9078bbcc429229e29242b7352647ee89;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmInfo.hs b/compiler/cmm/CmmInfo.hs index 520566d..d77488c 100644 --- a/compiler/cmm/CmmInfo.hs +++ b/compiler/cmm/CmmInfo.hs @@ -78,12 +78,8 @@ mkInfoTable uniq (CmmProc (CmmInfo _ _ info) entry_label arguments blocks) = CmmInfoTable (ProfilingInfo ty_prof cl_prof) type_tag type_info -> let info_label = entryLblToInfoLbl entry_label - ty_prof' = if tablesNextToCode - then makeRelativeRefTo info_label ty_prof - else ty_prof - cl_prof' = if tablesNextToCode - then makeRelativeRefTo info_label cl_prof - else cl_prof + ty_prof' = makeRelativeRefTo info_label ty_prof + cl_prof' = makeRelativeRefTo info_label cl_prof in case type_info of -- | A function entry point. FunInfo (ptrs, nptrs) srt fun_type fun_arity pap_bitmap slow_entry ->