diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-12 03:24:31 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-12 03:24:31 +0000 |
| commit | 7a8fccb1395f11f9019437f2baf3ecfac3066e32 (patch) | |
| tree | 402485b9b28168829fd378e13e38b5c5ef4fb1ac /insns.def | |
| parent | f28e37c4483fbe21f78fbe025090e2b63257a00e (diff) | |
| download | ruby-7a8fccb1395f11f9019437f2baf3ecfac3066e32.tar.gz ruby-7a8fccb1395f11f9019437f2baf3ecfac3066e32.tar.xz ruby-7a8fccb1395f11f9019437f2baf3ecfac3066e32.zip | |
* insns.def (opt_succ): fixed typo. [ruby-dev:31189]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
| -rw-r--r-- | insns.def | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |
