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 /vm_eval.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 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2028,7 +2028,7 @@ rb_catch_obj(VALUE t, VALUE (*func)(), VALUE data) static void local_var_list_init(struct local_var_list *vars) { - vars->tbl = rb_hash_new_compare_by_id(); + vars->tbl = rb_ident_hash_new(); RBASIC_CLEAR_CLASS(vars->tbl); } |