From 2fad7cbe302ee74a417681e482beebe4136afc09 Mon Sep 17 00:00:00 2001 From: Richard Kistruck Date: Fri, 4 Sep 2009 16:53:52 +0100 Subject: [PATCH] Mps br/padding zcoll.c: (remove hack: revert change zcoll.c168574) Copied from Perforce Change: 168575 ServerID: perforce.ravenbrook.com GitHub-reference: https://github.com/Ravenbrook/mps/issues/8 --- mps/code/zcoll.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/mps/code/zcoll.c b/mps/code/zcoll.c index 2f8962e70df..ec6149d6332 100644 --- a/mps/code/zcoll.c +++ b/mps/code/zcoll.c @@ -432,15 +432,7 @@ static void BigdropSmall(mps_arena_t arena, mps_ap_t ap, size_t big, char small) mps_arena_park(arena); for(i = 0; i < 100; i++) { - /* Hack to demonstrate pRLr in AMCTraceEnd_pageret diag: - * Make ambig ref to bigLimit, which for large segs will point to - * the LSP-pad. This will make pRLr (pages of Large segs retained - * by a rest-obj ref) non-zero. - * With this hack, pRLr in AMCTraceEnd_pageret does indeed do this. - */ - char *bigLimit = MakeThing(arena, ap, big); - bigLimit += big; - myrootAmbig[keepCount++ % myrootAmbigCOUNT] = bigLimit; + (void) MakeThing(arena, ap, big); if(small == 'A') { myrootAmbig[keepCount++ % myrootAmbigCOUNT] = MakeThing(arena, ap, 1); } else if(small == 'E') {