X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FUpdates.h;h=cf8b8cdcd75680d0e41b1b9e6d68d88caf2dc291;hb=03dc2dd3dd814ad85cc4c45e9cafc7b73163c8be;hp=0845e20f02e74656f514e873b48e8a22d41b29d7;hpb=c0cca2ea9d9b07c6af2da1a786e1a7bd4b757d0c;p=ghc-hetmet.git diff --git a/ghc/includes/Updates.h b/ghc/includes/Updates.h index 0845e20..cf8b8cd 100644 --- a/ghc/includes/Updates.h +++ b/ghc/includes/Updates.h @@ -343,17 +343,21 @@ updateWithPermIndirection(const StgInfoTable *info, ASSERT( p1 != p2 && !closure_IND(p1) ); - // @LDV profiling - // Destroy the old closure. - // Nb: LDV_* stuff cannot mix with ticky-ticky + /* + * @LDV profiling + * Destroy the old closure. + * Nb: LDV_* stuff cannot mix with ticky-ticky + */ LDV_RECORD_DEAD_FILL_SLOP_DYNAMIC(p1); bd = Bdescr((P_)p1); if (bd->gen_no == 0) { ((StgInd *)p1)->indirectee = p2; SET_INFO(p1, &stg_IND_PERM_info); - // @LDV profiling - // We have just created a new closure. + /* + * @LDV profiling + * We have just created a new closure. + */ LDV_RECORD_CREATE(p1); TICK_UPD_NEW_PERM_IND(p1); } else { @@ -362,8 +366,10 @@ updateWithPermIndirection(const StgInfoTable *info, } ((StgInd *)p1)->indirectee = p2; SET_INFO(p1, &stg_IND_OLDGEN_PERM_info); - // @LDV profiling - // We have just created a new closure. + /* + * @LDV profiling + * We have just created a new closure. + */ LDV_RECORD_CREATE(p1); TICK_UPD_OLD_PERM_IND(); }