From 1b238d62ec957245b4dd44d6ece02a47651353c5 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Tue, 17 Mar 2009 22:29:24 +0000 Subject: [PATCH] fix bad copy and paste from master --- C/heapgc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/C/heapgc.c b/C/heapgc.c index 0321ba35e..bd5a871be 100644 --- a/C/heapgc.c +++ b/C/heapgc.c @@ -2151,13 +2151,13 @@ mark_choicepoints(register choiceptr gc_B, tr_fr_ptr saved_TR, int very_verbose) on the other hand it's the only way we can be sure we can reclaim space */ - yamop *end = rtp->u.lld.n; + yamop *end = rtp->u.OtaLl.n; while (Yap_op_from_opcode(end->opc) != _count_trust_logical) - end = end->u.lld.n; - mark_ref_in_use((DBRef)end->u.lld.t.block); + end = end->u.OtaLl.n; + mark_ref_in_use((DBRef)end->u.OtILl.block); } /* mark timestamp */ - nargs = rtp->u.lld.t.s+1; + nargs = rtp->u.OtaLl.s+1; break; case _profiled_retry_logical: { @@ -2166,13 +2166,13 @@ mark_choicepoints(register choiceptr gc_B, tr_fr_ptr saved_TR, int very_verbose) on the other hand it's the only way we can be sure we can reclaim space */ - yamop *end = rtp->u.lld.n; + yamop *end = rtp->u.OtaLl.n; while (Yap_op_from_opcode(end->opc) != _profiled_trust_logical) - end = end->u.lld.n; - mark_ref_in_use((DBRef)end->u.lld.t.block); + end = end->u.OtaLl.n; + mark_ref_in_use((DBRef)end->u.OtILl.block); } /* mark timestamp */ - nargs = rtp->u.lld.t.s+1; + nargs = rtp->u.OtaLl.s+1; break; case _trust_logical: case _count_trust_logical: