mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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:
parent
ec071c849f
commit
aed7a95f9d
4 changed files with 2 additions and 6 deletions
2
string.c
2
string.c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue