diff options
author | Peter Zhu <[email protected]> | 2024-07-03 14:45:01 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-07-03 14:45:01 -0400 |
commit | 6ac05ddb8abf7c01996dd7ea6a8c90bab2692604 (patch) | |
tree | a8a7cc7fa5c4776c9e013ff7185799c8e1d86b26 | |
parent | 05f840d641f70e1c3ed8f84fb9088ca8c90d8a41 (diff) |
Remove unused gc_raw_obj_info_basic
-rw-r--r-- | gc.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -4181,17 +4181,6 @@ obj_info(VALUE obj) char *const buff = obj_info_buffers[index]; return rb_raw_obj_info(buff, OBJ_INFO_BUFFERS_SIZE, obj); } - -const char * -gc_raw_obj_info_basic(char *const buff, const size_t buff_size, VALUE obj) -{ - asan_unpoisoning_object(obj) { - size_t pos = rb_raw_obj_info_common(buff, buff_size, obj); - if (pos >= buff_size) {} // truncated - } - - return buff; -} #else static const char * obj_info(VALUE obj) |