From 2866f951c5a2ba940d21ef7232143dd862a26c20 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 31 Jan 2023 13:29:18 -0500 Subject: Remove rb_hash_ar_table It's dead code and duplicate of RHASH_AR_TABLE. --- hash.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index 0f10c633f9..e08885287f 100644 --- a/hash.c +++ b/hash.c @@ -579,13 +579,6 @@ rb_hash_ar_table_p(VALUE hash) } } -ar_table * -rb_hash_ar_table(VALUE hash) -{ - HASH_ASSERT(RHASH_AR_TABLE_P(hash)); - return RHASH(hash)->as.ar; -} - st_table * rb_hash_st_table(VALUE hash) { -- cgit v1.2.1