1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
charliesome 2014-01-23 04:59:30 +00:00
parent 3aeff611cc
commit 25daaafa3d

View file

@ -77,6 +77,7 @@ typedef struct rb_iseq_struct rb_iseq_t;
typedef struct rb_method_definition_struct {
rb_method_type_t type; /* method type */
int alias_count;
ID original_id;
union {
rb_iseq_t * const iseq; /* should be mark */
@ -91,7 +92,6 @@ typedef struct rb_method_definition_struct {
} optimize_type;
struct rb_method_entry_struct *orig_me;
} body;
int alias_count;
} rb_method_definition_t;
typedef struct rb_method_entry_struct {