diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-04 07:04:28 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-04 07:04:28 +0000 |
commit | 33949a03203c7d0235ec1823b3827618237057a1 (patch) | |
tree | c79d8cfb6f12c59243a4e1bc03dfbf0e15ab0594 /vm_core.h | |
parent | ae34216021b1f627f99f8845c8376ad54ccdfa08 (diff) |
compile.c: set catch_except_p flag
to be used for MJIT's optimization. It's not used for optimization
in this commit yet.
vm_core.h: added catch_except_p field.
iseq.c: show the flag in ISeq disasm for debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -424,6 +424,7 @@ struct rb_iseq_constant_body { struct rb_control_frame_struct *); /* function pointer for loaded native code */ long unsigned total_calls; /* number of total calls with `mjit_exec()` */ struct rb_mjit_unit *jit_unit; + char catch_except_p; /* If a frame of this ISeq may catch exception, set TRUE */ }; /* T_IMEMO/iseq */ |