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

ruby-changes:55083

From: nobu <ko1@a...>
Date: Mon, 18 Mar 2019 10:42:24 +0900 (JST)
Subject: [ruby-changes:55083] nobu:r67290 (trunk): Pack rb_iseq_constant_body from 296 to 288 bytes

nobu	2019-03-18 10:42:20 +0900 (Mon, 18 Mar 2019)

  New Revision: 67290

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

  Log:
    Pack rb_iseq_constant_body from 296 to 288 bytes
    
    [Fix GH-2099]
    
    From: Lourens Naud?\195?\169 <lourens@b...>

  Modified files:
    trunk/vm_core.h
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 67289)
+++ vm_core.h	(revision 67290)
@@ -460,6 +460,8 @@ struct rb_iseq_constant_body { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L460
     unsigned int ci_kw_size;
     unsigned int stack_max; /* for stack overflow check */
 
+    char catch_except_p; /* If a frame of this ISeq may catch exception, set TRUE */
+
 #if USE_MJIT
     /* The following fields are MJIT related info.  */
     VALUE (*jit_func)(struct rb_execution_context_struct *,
@@ -467,7 +469,6 @@ struct rb_iseq_constant_body { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L469
     long unsigned total_calls; /* number of total calls with `mjit_exec()` */
     struct rb_mjit_unit *jit_unit;
 #endif
-    char catch_except_p; /* If a frame of this ISeq may catch exception, set TRUE */
 };
 
 /* T_IMEMO/iseq */

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

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