mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
1fe38a5cae
commit
2e601474e7
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jul 12 12:24:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* insns.def (opt_succ): fixed typo. [ruby-dev:31189]
|
||||||
|
|
||||||
Thu Jul 12 10:30:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Jul 12 10:30:46 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* thread.c (thread_start_func_2): moved prototye from thread_*.ci.
|
* thread.c (thread_start_func_2): moved prototye from thread_*.ci.
|
||||||
|
|
|
@ -2305,8 +2305,8 @@ opt_succ
|
||||||
/* fixnum + INT2FIX(1) */
|
/* fixnum + INT2FIX(1) */
|
||||||
val = (recv + (obj & (~1)));
|
val = (recv + (obj & (~1)));
|
||||||
if ((~(recv ^ obj) & (recv ^ val)) & 0x80000000) {
|
if ((~(recv ^ obj) & (recv ^ val)) & 0x80000000) {
|
||||||
val = rb_big_plus(rb_int2big(INT2FIX(recv)),
|
val = rb_big_plus(rb_int2big(FIX2INT(recv)),
|
||||||
rb_int2big(INT2FIX(obj)));
|
rb_int2big(FIX2INT(obj)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue