aboutsummaryrefslogtreecommitdiffstats
path: root/mjit_compile.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-22 04:01:23 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-22 04:01:23 +0000
commit986518f3fff20b6772cd625031ed0e6823ee6a41 (patch)
tree6c759ec2b07f84cecba2380440d51161e1148265 /mjit_compile.c
parent043e47c3d64ac8ebf7b322fa3e33c0502592cf22 (diff)
downloadruby-986518f3fff20b6772cd625031ed0e6823ee6a41.tar.gz
mjit_compile.c: comment the intention of r63092 [ci skip]
It's for "leave" instruction. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index 7913e6836b..fa686c005c 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -176,6 +176,7 @@ mjit_compile(FILE *f, const struct rb_iseq_constant_body *body, const char *func
status.compiled_for_pos = ZALLOC_N(int, body->iseq_size);
status.local_stack_p = !body->catch_except_p;
+ /* For performance, disable stack consistency check on JIT unless debugging */
if (!mjit_opts.debug) {
fprintf(f, "#undef OPT_CHECKED_RUN\n");
fprintf(f, "#define OPT_CHECKED_RUN 0\n\n");