aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbol.c b/symbol.c
index 1127020d17..696f0177b9 100644
--- a/symbol.c
+++ b/symbol.c
@@ -122,7 +122,7 @@ static const struct st_hash_type symhash = {
void
Init_sym(void)
{
- VALUE dsym_fstrs = rb_hash_new();
+ VALUE dsym_fstrs = rb_ident_hash_new();
global_symbols.dsymbol_fstr_hash = dsym_fstrs;
rb_gc_register_mark_object(dsym_fstrs);
rb_obj_hide(dsym_fstrs);