Skip to content

Commit dc647ae

Browse files
committed
* insns.def (opt_case_dispatch): use st_data_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent fc6d58c commit dc647ae

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Wed Oct 13 22:51:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* insns.def (opt_case_dispatch): use st_data_t.
4+
15
Wed Oct 13 22:32:34 2010 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
26

37
* lib/cgi/util.rb (CGI::unescape): bugfix to unescape the multibyte

insns.def

+2-2
Original file line numberDiff line numberDiff line change
@@ -1272,9 +1272,9 @@ opt_case_dispatch
12721272
case T_BIGNUM:
12731273
case T_STRING:
12741274
if (BASIC_OP_UNREDEFINED_P(BOP_EQQ)) {
1275-
VALUE val;
1275+
st_data_t val;
12761276
if (st_lookup(RHASH_TBL(hash), key, &val)) {
1277-
JUMP(FIX2INT(val));
1277+
JUMP(FIX2INT((VALUE)val));
12781278
}
12791279
else {
12801280
JUMP(else_offset);

0 commit comments

Comments
 (0)