mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-06 09:30:29 +02:00
Small refactor to whippet embedder
* libguile/whippet-embedder.h (gc_atomic_forward_retry_busy): Use scm_tc3_mask instead of 7.
This commit is contained in:
parent
8623e252bf
commit
5ef7dd088f
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ gc_atomic_forward_retry_busy (struct gc_atomic_forward *fwd) {
|
|||
scm_t_bits tag = atomic_load_explicit (loc, memory_order_acquire);
|
||||
if (tag == scm_cell_type_busy)
|
||||
return 0;
|
||||
if ((tag & 7) == scm_tc3_forwarded) {
|
||||
if ((tag & scm_tc3_mask) == scm_tc3_forwarded) {
|
||||
fwd->state = GC_FORWARDING_STATE_FORWARDED;
|
||||
fwd->data = tag;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue