From 25daaafa3d32be5bf6b13bf7b917128135366f6d Mon Sep 17 00:00:00 2001 From: charliesome Date: Thu, 23 Jan 2014 04:59:30 +0000 Subject: * 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 --- method.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'method.h') 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 { -- cgit v1.2.3