fix bad copy and paste from master
This commit is contained in:
parent
a221244b8c
commit
1b238d62ec
16
C/heapgc.c
16
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
|
on the other hand it's the only way we can be sure we can reclaim
|
||||||
space
|
space
|
||||||
*/
|
*/
|
||||||
yamop *end = rtp->u.lld.n;
|
yamop *end = rtp->u.OtaLl.n;
|
||||||
while (Yap_op_from_opcode(end->opc) != _count_trust_logical)
|
while (Yap_op_from_opcode(end->opc) != _count_trust_logical)
|
||||||
end = end->u.lld.n;
|
end = end->u.OtaLl.n;
|
||||||
mark_ref_in_use((DBRef)end->u.lld.t.block);
|
mark_ref_in_use((DBRef)end->u.OtILl.block);
|
||||||
}
|
}
|
||||||
/* mark timestamp */
|
/* mark timestamp */
|
||||||
nargs = rtp->u.lld.t.s+1;
|
nargs = rtp->u.OtaLl.s+1;
|
||||||
break;
|
break;
|
||||||
case _profiled_retry_logical:
|
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
|
on the other hand it's the only way we can be sure we can reclaim
|
||||||
space
|
space
|
||||||
*/
|
*/
|
||||||
yamop *end = rtp->u.lld.n;
|
yamop *end = rtp->u.OtaLl.n;
|
||||||
while (Yap_op_from_opcode(end->opc) != _profiled_trust_logical)
|
while (Yap_op_from_opcode(end->opc) != _profiled_trust_logical)
|
||||||
end = end->u.lld.n;
|
end = end->u.OtaLl.n;
|
||||||
mark_ref_in_use((DBRef)end->u.lld.t.block);
|
mark_ref_in_use((DBRef)end->u.OtILl.block);
|
||||||
}
|
}
|
||||||
/* mark timestamp */
|
/* mark timestamp */
|
||||||
nargs = rtp->u.lld.t.s+1;
|
nargs = rtp->u.OtaLl.s+1;
|
||||||
break;
|
break;
|
||||||
case _trust_logical:
|
case _trust_logical:
|
||||||
case _count_trust_logical:
|
case _count_trust_logical:
|
||||||
|
Reference in New Issue
Block a user