From b252d8ada355ab729a545274e107d3f082f1fde6 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 22 Apr 2018 04:01:23 +0000 Subject: 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 --- mjit_compile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mjit_compile.c') 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"); -- cgit v1.2.3