diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | hash.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Oct 9 12:38:28 2014 Eric Wong <e@80x24.org> + + * hash.c (rb_any_hash): remove unnecessary dsym check + Thu Oct 9 07:20:30 2014 Rei Odaira <Rei.Odaira@gmail.com> * missing/setproctitle.c: Avoid invalidating argv[1], argv[2], @@ -139,7 +139,7 @@ rb_any_hash(VALUE a) if (SPECIAL_CONST_P(a)) { if (a == Qundef) return 0; - if (SYMBOL_P(a)) a >>= (RUBY_SPECIAL_SHIFT + ID_SCOPE_SHIFT); + if (STATIC_SYM_P(a)) a >>= (RUBY_SPECIAL_SHIFT + ID_SCOPE_SHIFT); hnum = rb_objid_hash((st_index_t)a); } else if (BUILTIN_TYPE(a) == T_STRING) { |