summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-11 07:25:38 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-11 07:25:38 +0000
commit0991d0a8ee73977ab3e2aed2fbe361985f6f0d0d (patch)
treeebbf8deba36046fa7935969b43f9a01e3f1a3338
parent370bd884bcec54e741f6298a7ecb83f6d2f86b13 (diff)
* method.h (METHOD_ENTRY_BASIC_SET): fix last commit (unbalanced parens).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--method.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e5ebc80..0275d14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 11 16:23:37 2015 Koichi Sasada <ko1@atdot.net>
+
+ * method.h (METHOD_ENTRY_BASIC_SET): fix last commit (unbalanced parens).
+
Thu Jun 11 15:14:16 2015 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in: define SET_THREAD_NAME if it has pthread_set_name_np
diff --git a/method.h b/method.h
index 141e648..bd717eb 100644
--- a/method.h
+++ b/method.h
@@ -67,7 +67,7 @@ static inline void
METHOD_ENTRY_BASIC_SET(rb_method_entry_t *me, int basic)
{
VM_ASSERT(basic <= 1);
- me->flags = (me->flags & ~(IMEMO_FL_USER2 ) | (basic << (IMEMO_FL_USHIFT+2));
+ me->flags = (me->flags & ~(IMEMO_FL_USER2 )) | (basic << IMEMO_FL_USHIFT+2);
}
static inline void
METHOD_ENTRY_SAFE_SET(rb_method_entry_t *me, int safe)