From c4c821a7d7f2229a7c8d2c36cdc6b20668101081 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 26 May 2013 16:19:04 +0000 Subject: * hash.c (rb_hash_tbl_raw), internal.h: added. Returns st_table without shading hash. * array.c: use rb_hash_tbl_raw() for read-only purpose. * compile.c (iseq_compile_each): ditto. * gc.c (count_objects): ditto. * insns.def: ditto. * process.c: ditto. * thread.c (clear_coverage): ditto. * vm_insnhelper.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- insns.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'insns.def') diff --git a/insns.def b/insns.def index e2c2c993e4..2a51424a0d 100644 --- a/insns.def +++ b/insns.def @@ -1272,7 +1272,7 @@ opt_case_dispatch BIGNUM_REDEFINED_OP_FLAG | STRING_REDEFINED_OP_FLAG)) { st_data_t val; - if (st_lookup(RHASH_TBL(hash), key, &val)) { + if (st_lookup(RHASH_TBL_RAW(hash), key, &val)) { JUMP(FIX2INT((VALUE)val)); } else { -- cgit v1.2.3