mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* method.h (METHOD_ENTRY_BASIC_SET): should clear last bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
038213351b
commit
5421cea252
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jun 11 15:53:31 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* method.h (METHOD_ENTRY_BASIC_SET): should clear last bit.
|
||||
|
||||
Thu Jun 11 14:34:45 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||
|
||||
* lib/rubygems.rb: bump version to 2.4.7 and 2.4.8. these versions fixed
|
||||
|
|
2
method.h
2
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 | (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)
|
||||
|
|
Loading…
Reference in a new issue