diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-07-03 14:44:31 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-07-03 14:44:31 -0400 |
| commit | 05f840d641f70e1c3ed8f84fb9088ca8c90d8a41 (patch) | |
| tree | 6f9f10053f4ef9ce0f9ae069f014f5c033e79dda | |
| parent | f88841b8f365a934fb818b4a85e8d07a0dbf0fba (diff) | |
Remove unused obj_info_basic
| -rw-r--r-- | gc.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -4192,19 +4192,6 @@ gc_raw_obj_info_basic(char *const buff, const size_t buff_size, VALUE obj) return buff; } - -static const char * -obj_info_basic(VALUE obj) -{ - rb_atomic_t index = atomic_inc_wraparound(&obj_info_buffers_index, OBJ_INFO_BUFFERS_NUM); - char *const buff = obj_info_buffers[index]; - - asan_unpoisoning_object(obj) { - rb_raw_obj_info_common(buff, OBJ_INFO_BUFFERS_SIZE, obj); - } - - return buff; -} #else static const char * obj_info(VALUE obj) |
