summaryrefslogtreecommitdiff
path: root/mjit_compile.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-05-06 10:47:00 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-05-06 10:47:43 -0700
commit1e3c910bfc57e4d8bedb0c8784562e06aa08ae29 (patch)
treedf2d3b07374b555b6147d69fd15fb89d0c153abd /mjit_compile.c
parent46b93175ed9fe061f309fe5538f23dc13aa1de0b (diff)
Enable OPT_CHECKED_RUN on MJIT for debugging
Trying to debug errors like http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2921397 http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2894526
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index b64cbb42b7..cc4aa0043c 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -474,8 +474,7 @@ precompile_inlinable_iseqs(FILE *f, const rb_iseq_t *iseq, struct compile_status
bool
mjit_compile(FILE *f, const rb_iseq_t *iseq, const char *funcname, int id)
{
- // For performance, we verify stack size only on compilation time (mjit_compile.inc.erb) without --jit-debug
- if (!mjit_opts.debug) {
+ if (false) { // Now always checking it for debugging.
fprintf(f, "#undef OPT_CHECKED_RUN\n");
fprintf(f, "#define OPT_CHECKED_RUN 0\n\n");
}