diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-06 20:33:03 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-06 20:33:03 +0000 |
commit | 4baa488edba1d10e799bacf0c0637c0bba7375a8 (patch) | |
tree | 2376ea7f696a25bf5637334a1453e66b923e6e9e | |
parent | d4bbc2d776878492ef9cf911bca8c43ac0a9b1e5 (diff) |
constant.h: reduce rb_const_entry_t size on 64-bit
* constant.h: reduce rb_const_entry_t size on 64-bit
Patch by Adam Avilla [ruby-core:60542] [Feature #9496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | constant.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Feb 7 05:28:38 2014 Eric Wong <e@80x24.org> + + * constant.h: reduce rb_const_entry_t size on 64-bit + Patch by Adam Avilla [ruby-core:60542] [Feature #9496] + Thu Feb 6 15:27:46 2014 Koichi Sasada <ko1@atdot.net> * gc.c (get_envparam_int): correct warning messages. diff --git a/constant.h b/constant.h index 3dc9b8d4ef..153654604b 100644 --- a/constant.h +++ b/constant.h @@ -18,9 +18,9 @@ typedef enum { typedef struct rb_const_entry_struct { rb_const_flag_t flag; + int line; const VALUE value; /* should be mark */ const VALUE file; /* should be mark */ - int line; } rb_const_entry_t; VALUE rb_mod_private_constant(int argc, VALUE *argv, VALUE obj); |