1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Pack rb_iseq_constant_body from 296 to 288 bytes

[Fix GH-2099]

From: Lourens Naudé <lourens@bearmetal.eu>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-03-18 01:42:20 +00:00
parent d0e25ed277
commit ba03222da8

View file

@ -460,6 +460,8 @@ struct rb_iseq_constant_body {
unsigned int ci_kw_size; unsigned int ci_kw_size;
unsigned int stack_max; /* for stack overflow check */ 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 #if USE_MJIT
/* The following fields are MJIT related info. */ /* The following fields are MJIT related info. */
VALUE (*jit_func)(struct rb_execution_context_struct *, VALUE (*jit_func)(struct rb_execution_context_struct *,
@ -467,7 +469,6 @@ struct rb_iseq_constant_body {
long unsigned total_calls; /* number of total calls with `mjit_exec()` */ long unsigned total_calls; /* number of total calls with `mjit_exec()` */
struct rb_mjit_unit *jit_unit; struct rb_mjit_unit *jit_unit;
#endif #endif
char catch_except_p; /* If a frame of this ISeq may catch exception, set TRUE */
}; };
/* T_IMEMO/iseq */ /* T_IMEMO/iseq */