mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-13 17:20:21 +02:00
Fix parallel tracer for gc_ref API change
This commit is contained in:
parent
1228e346fa
commit
f77cf923c1
1 changed files with 2 additions and 1 deletions
|
@ -487,7 +487,8 @@ trace_worker_steal_from_any(struct trace_worker *worker, struct tracer *tracer)
|
||||||
DEBUG("tracer #%zu: stealing from #%zu\n", worker->id, steal_id);
|
DEBUG("tracer #%zu: stealing from #%zu\n", worker->id, steal_id);
|
||||||
struct gc_ref obj = tracer_steal_from_worker(tracer, steal_id);
|
struct gc_ref obj = tracer_steal_from_worker(tracer, steal_id);
|
||||||
if (gc_ref_is_heap_object(obj)) {
|
if (gc_ref_is_heap_object(obj)) {
|
||||||
DEBUG("tracer #%zu: stealing got %p\n", worker->id, obj);
|
DEBUG("tracer #%zu: stealing got %p\n", worker->id,
|
||||||
|
gc_ref_heap_object(obj));
|
||||||
worker->steal_id = steal_id;
|
worker->steal_id = steal_id;
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue