From 33949a03203c7d0235ec1823b3827618237057a1 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 4 Mar 2018 07:04:28 +0000 Subject: 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 --- vm_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 0a62b66db8..4e7eaed199 100644 --- a/vm_core.h +++ b/vm_core.h @@ -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 */ -- cgit v1.2.3