diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-03 02:09:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-03 02:09:01 +0900 |
commit | bdddaa9f56702e1d3a58a14607e9881052424b53 (patch) | |
tree | ccbb221801b714a90148cf8454ff69b7e4f27d0d /hash.c | |
parent | 0f283054e7f568f09fbfc952d57ea6daf4abbd88 (diff) |
Use rb_ident_hash_new instead of rb_hash_new_compare_by_id
The latter is same as the former, removed the duplicate function.
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1364,14 +1364,6 @@ rb_hash_new(void) return hash_alloc(rb_cHash); } -VALUE -rb_hash_new_compare_by_id(void) -{ - VALUE hash = rb_hash_new(); - RHASH_ST_TABLE_SET(hash, rb_init_identtable()); - return hash; -} - MJIT_FUNC_EXPORTED VALUE rb_hash_new_with_size(st_index_t size) { |