Permalink
Browse files

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
  • Loading branch information...
1 parent d4bbc2d commit 4baa488edba1d10e799bacf0c0637c0bba7375a8 normal committed Feb 6, 2014
Showing with 6 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +1 −1 constant.h
View
@@ -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.
View
@@ -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);

0 comments on commit 4baa488

Please sign in to comment.