diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2020-10-19 10:41:26 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:25 -0400 |
commit | 6f4d17d62236460fd5aa9d07fea4d6794f27c397 (patch) | |
tree | d80970031b1a1950114d866ed2224dc5831308e1 /mjit.h | |
parent | 12ba0c0815bf75c6774b149b71304df3b10d0088 (diff) |
Never compile with MicroJIT when MJIT is enabled
There is a crash in there that we don't want to worry about for now.
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -153,7 +153,7 @@ mjit_exec(rb_execution_context_t *ec) #ifndef MJIT_HEADER const int ujit_call_threashold = 10; - if (body->total_calls == ujit_call_threashold) { + if (body->total_calls == ujit_call_threashold && !mjit_call_p) { rb_ujit_compile_iseq(iseq); } #endif |