diff options
Diffstat (limited to 'vm_insnhelper.c')
| -rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 92091216f4..aed1840c12 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -6577,7 +6577,7 @@ vm_case_dispatch(CDHASH hash, OFFSET else_offset, VALUE key) key = FIXABLE(kval) ? LONG2FIX((long)kval) : rb_dbl2big(kval); } } - if (rb_hash_stlike_lookup(hash, key, &val)) { + if (st_lookup(rb_imemo_cdhash_tbl(hash), key, &val)) { return FIX2LONG((VALUE)val); } else { |
