summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index be645ec818..068944d0b5 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -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);
}