зеркало из https://github.com/github/ruby.git
* method.h: rearrange rb_method_definition_struct to save 8 bytes in
padding on 64 bit platforms. Patch by Eric Wong. [Feature #9441] [ruby-core:59993] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3aeff611cc
Коммит
25daaafa3d
2
method.h
2
method.h
|
@ -77,6 +77,7 @@ typedef struct rb_iseq_struct rb_iseq_t;
|
||||||
|
|
||||||
typedef struct rb_method_definition_struct {
|
typedef struct rb_method_definition_struct {
|
||||||
rb_method_type_t type; /* method type */
|
rb_method_type_t type; /* method type */
|
||||||
|
int alias_count;
|
||||||
ID original_id;
|
ID original_id;
|
||||||
union {
|
union {
|
||||||
rb_iseq_t * const iseq; /* should be mark */
|
rb_iseq_t * const iseq; /* should be mark */
|
||||||
|
@ -91,7 +92,6 @@ typedef struct rb_method_definition_struct {
|
||||||
} optimize_type;
|
} optimize_type;
|
||||||
struct rb_method_entry_struct *orig_me;
|
struct rb_method_entry_struct *orig_me;
|
||||||
} body;
|
} body;
|
||||||
int alias_count;
|
|
||||||
} rb_method_definition_t;
|
} rb_method_definition_t;
|
||||||
|
|
||||||
typedef struct rb_method_entry_struct {
|
typedef struct rb_method_entry_struct {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче