mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* method.h: change fileds order to gather frequent acces fields.
* vm_insnhelper.c (vm_call_method): add LIKELY(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
419b0da453
commit
b5cd6ba214
3 changed files with 8 additions and 2 deletions
2
method.h
2
method.h
|
@ -80,8 +80,8 @@ typedef struct rb_method_alias_struct {
|
|||
typedef struct rb_method_definition_struct {
|
||||
struct {
|
||||
rb_method_visibility_t visi: 3;
|
||||
unsigned int basic: 1;
|
||||
unsigned int safe: 3;
|
||||
unsigned int basic: 1;
|
||||
} flags;
|
||||
rb_method_type_t type; /* method type */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue