From 2e601474e7dc483aca0e7c7b7ced750e869aab7f Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Jul 2007 03:24:31 +0000 Subject: [PATCH] * insns.def (opt_succ): fixed typo. [ruby-dev:31189] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ insns.def | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 471a0608cf..f058a7b002 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jul 12 12:24:29 2007 Nobuyoshi Nakada + + * insns.def (opt_succ): fixed typo. [ruby-dev:31189] + Thu Jul 12 10:30:46 2007 Nobuyoshi Nakada * thread.c (thread_start_func_2): moved prototye from thread_*.ci. diff --git a/insns.def b/insns.def index be67ab09e4..9116430f28 100644 --- a/insns.def +++ b/insns.def @@ -2305,8 +2305,8 @@ opt_succ /* fixnum + INT2FIX(1) */ val = (recv + (obj & (~1))); if ((~(recv ^ obj) & (recv ^ val)) & 0x80000000) { - val = rb_big_plus(rb_int2big(INT2FIX(recv)), - rb_int2big(INT2FIX(obj))); + val = rb_big_plus(rb_int2big(FIX2INT(recv)), + rb_int2big(FIX2INT(obj))); } } else {