diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-22 04:01:23 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-22 04:01:23 +0000 |
commit | b252d8ada355ab729a545274e107d3f082f1fde6 (patch) | |
tree | 6c759ec2b07f84cecba2380440d51161e1148265 /mjit_compile.c | |
parent | 56e87b2c4bbd5455dd9d14d90ea808ee95f01fbb (diff) | |
download | ruby-b252d8ada355ab729a545274e107d3f082f1fde6.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.c | 1 |
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"); |