Move RUBY_ATOMIC_VALUE_LOAD to ruby_atomic.h

Deduplicates RUBY_ATOMIC_VALUE_LOAD by moving it to ruby_atomic.h.
This commit is contained in:
Peter Zhu 2025-06-25 09:25:52 -04:00
parent ec071c849f
commit aed7a95f9d
4 changed files with 2 additions and 6 deletions

View file

@ -645,8 +645,6 @@ fstring_table_probe_next(struct fstring_table_probe *probe)
}
#endif
#define RUBY_ATOMIC_VALUE_LOAD(x) (VALUE)(RUBY_ATOMIC_PTR_LOAD(x))
static void
fstring_insert_on_resize(struct fstring_table_struct *table, VALUE hash_code, VALUE value)
{