summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-12 03:24:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-12 03:24:31 +0000
commit2e601474e7dc483aca0e7c7b7ced750e869aab7f (patch)
tree402485b9b28168829fd378e13e38b5c5ef4fb1ac
parent1fe38a5caee8985c0e2d6eb05894fad3c9476d6d (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--insns.def4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 471a060..f058a7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* thread.c (thread_start_func_2): moved prototye from thread_*.ci.
diff --git a/insns.def b/insns.def
index be67ab0..9116430 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 {