summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-06-25 09:25:52 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-06-25 13:04:25 -0400
commitaed7a95f9d8b5cfb0d590b59478d9dabc6b1eb22 (patch)
tree06fcccf6f785c028a6f1f13b7ff926408d34b2a0 /string.c
parentec071c849fedda2f59aacc5514650798f32087a2 (diff)
Move RUBY_ATOMIC_VALUE_LOAD to ruby_atomic.h
Deduplicates RUBY_ATOMIC_VALUE_LOAD by moving it to ruby_atomic.h.
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/string.c b/string.c
index 663bdc09c7..1ef4f03b75 100644
--- a/string.c
+++ b/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)
{