aboutsummaryrefslogtreecommitdiffstats
path: root/mjit_compile.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-12-21 21:16:19 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-12-21 21:16:39 -0800
commit692af8e8f8b5f9965450d8f2577f435feaa6f80d (patch)
tree26109e5f22a0a66368a11c307cb20368cbc94bbc /mjit_compile.c
parent03f2b093201762031d5be64d0cce85da26c1d3b3 (diff)
downloadruby-692af8e8f8b5f9965450d8f2577f435feaa6f80d.tar.gz
Prefer stdbool in vm_exec
Make the code a bit modern and consistent with some other places.
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index 7e715b7e10..dc188864ca 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -280,7 +280,7 @@ compile_inlined_cancel_handler(FILE *f, const struct rb_iseq_constant_body *body
}
// We're not just returning Qundef here so that caller's normal cancel handler can
// push back `stack` to `cfp->sp`.
- fprintf(f, " return vm_exec(ec, FALSE);\n");
+ fprintf(f, " return vm_exec(ec, false);\n");
}
// Print the block to cancel JIT execution.