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

ruby-changes:34731

From: normal <ko1@a...>
Date: Mon, 14 Jul 2014 16:42:28 +0900 (JST)
Subject: [ruby-changes:34731] normal:r46814 (trunk): vm_core.h (struct rb_iseq_struct): reduce to 288 bytes on 64-bit

normal	2014-07-14 16:42:13 +0900 (Mon, 14 Jul 2014)

  New Revision: 46814

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

  Log:
    vm_core.h (struct rb_iseq_struct): reduce to 288 bytes on 64-bit
    
    * vm_core.h (struct rb_iseq_struct): reduce to 288 bytes on 64-bit
      (found with pahole, from the dwarves package)

  Modified files:
    trunk/ChangeLog
    trunk/vm_core.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46813)
+++ ChangeLog	(revision 46814)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jul 14 16:38:45 2014  Eric Wong  <e@8...>
+
+	* vm_core.h (struct rb_iseq_struct): reduce to 288 bytes on 64-bit
+
 Mon Jul 14 16:07:25 2014  Eric Wong  <e@8...>
 
 	* iseq.h (struct iseq_catch_table_entry): shrink to 32 bytes
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 46813)
+++ vm_core.h	(revision 46814)
@@ -228,8 +228,8 @@ struct rb_iseq_struct { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L228
     union iseq_inline_storage_entry *is_entries;
     int is_size;
 
-    rb_call_info_t *callinfo_entries;
     int callinfo_size;
+    rb_call_info_t *callinfo_entries;
 
     /**
      * argument information

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

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