зеркало из https://github.com/github/ruby.git
* 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:
Родитель
038213351b
Коммит
5421cea252
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче