summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-01-31 13:29:18 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-01-31 15:48:09 -0500
commit2866f951c5a2ba940d21ef7232143dd862a26c20 (patch)
tree53241c3c6d9fbb4efcdd94b00bf0859d683bb340 /hash.c
parente11067ebbfcf2c2422a5d00b50306782a9d86364 (diff)
downloadruby-2866f951c5a2ba940d21ef7232143dd862a26c20.tar.gz
Remove rb_hash_ar_table
It's dead code and duplicate of RHASH_AR_TABLE.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c7
1 files changed, 0 insertions, 7 deletions
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)
{