[前][次][番号順一覧][スレッド一覧]

ruby-changes:32790

From: normal <ko1@a...>
Date: Fri, 7 Feb 2014 05:33:07 +0900 (JST)
Subject: [ruby-changes:32790] normal:r44869 (trunk): constant.h: reduce rb_const_entry_t size on 64-bit

normal	2014-02-07 05:33:03 +0900 (Fri, 07 Feb 2014)

  New Revision: 44869

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44869

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/constant.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44868)
+++ ChangeLog	(revision 44869)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Feb 7 05:28:38 2014  Eric Wong  <e@8...>
+
+	* 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@a...>
 
 	* gc.c (get_envparam_int): correct warning messages.
Index: constant.h
===================================================================
--- constant.h	(revision 44868)
+++ constant.h	(revision 44869)
@@ -18,9 +18,9 @@ typedef enum { https://github.com/ruby/ruby/blob/trunk/constant.h#L18
 
 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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]