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
This commit is contained in:
parent
46b93175ed
commit
1e3c910bfc
@ -474,8 +474,7 @@ precompile_inlinable_iseqs(FILE *f, const rb_iseq_t *iseq, struct compile_status
|
|||||||
bool
|
bool
|
||||||
mjit_compile(FILE *f, const rb_iseq_t *iseq, const char *funcname, int id)
|
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 (false) { // Now always checking it for debugging.
|
||||||
if (!mjit_opts.debug) {
|
|
||||||
fprintf(f, "#undef OPT_CHECKED_RUN\n");
|
fprintf(f, "#undef OPT_CHECKED_RUN\n");
|
||||||
fprintf(f, "#define OPT_CHECKED_RUN 0\n\n");
|
fprintf(f, "#define OPT_CHECKED_RUN 0\n\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user