mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Fix sense of "large_object_space_is_copied".
* src/large-object-space.h (large_object_space_is_copied): I don't understand why or how it was like it was!
This commit is contained in:
parent
8e1574491a
commit
4aa5d04f08
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ static int large_object_space_is_copied(struct large_object_space *space,
|
||||||
int copied = 0;
|
int copied = 0;
|
||||||
uintptr_t addr = gc_ref_value(ref);
|
uintptr_t addr = gc_ref_value(ref);
|
||||||
pthread_mutex_lock(&space->lock);
|
pthread_mutex_lock(&space->lock);
|
||||||
copied = address_set_contains(&space->from_space, addr);
|
copied = address_set_contains(&space->to_space, addr);
|
||||||
pthread_mutex_unlock(&space->lock);
|
pthread_mutex_unlock(&space->lock);
|
||||||
return copied;
|
return copied;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue