aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.h
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-16 17:02:35 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-16 17:02:35 +0000
commitfcd679ed11e3e801431f2f931dbe925edb8df0bf (patch)
tree580291b5dbda7d60f541ecb8c5d8657b0e6f354a /mjit.h
parentd71b78575b08f55d35194b2c091719b2c4463ea3 (diff)
downloadruby-fcd679ed11e3e801431f2f931dbe925edb8df0bf.tar.gz
Recompile without method inlining
if cancel happens in an inlined method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.h')
-rw-r--r--mjit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mjit.h b/mjit.h
index 4cdb81aab2..4aadc8eb6f 100644
--- a/mjit.h
+++ b/mjit.h
@@ -61,6 +61,8 @@ struct rb_mjit_compile_info {
bool disable_ivar_cache;
// Disable send/opt_send_without_block optimizations based on inline cache
bool disable_send_cache;
+ // Disable method inlining
+ bool disable_inlining;
};
typedef VALUE (*mjit_func_t)(rb_execution_context_t *, rb_control_frame_t *);