summaryrefslogtreecommitdiff
path: root/method.h
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-23 04:59:30 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-23 04:59:30 +0000
commit25daaafa3d32be5bf6b13bf7b917128135366f6d (patch)
treebbce110433e37e7f75ef670a1038145b5a5f5ac3 /method.h
parent3aeff611cc9c86becf85bdf35d0f45743590fdef (diff)
* 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
Diffstat (limited to 'method.h')
-rw-r--r--method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/method.h b/method.h
index c93e4c39c1..556d2865b7 100644
--- a/method.h
+++ b/method.h
@@ -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 {