From 4baa488edba1d10e799bacf0c0637c0bba7375a8 Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 6 Feb 2014 20:33:03 +0000 Subject: 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 --- ChangeLog | 5 +++++ constant.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a05d5a0be7..606b7be808 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 7 05:28:38 2014 Eric Wong + + * 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 * 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); -- cgit v1.2.3