We often break Wasm build when we modify how jit_exec works. I'm
planning to modify it again soon.

We actually don't support running Ruby JIT on Wasm, so it doesn't seem
worth the maintenance effort.
This commit is contained in:
Takashi Kokubun 2023-08-04 15:39:01 -07:00
Родитель 8d7861e3da
Коммит e80752f9bb
1 изменённых файлов: 1 добавлений и 3 удалений

4
vm.c
Просмотреть файл

@ -2336,9 +2336,7 @@ vm_exec_bottom_main(void *context)
struct rb_vm_exec_context *ctx = (struct rb_vm_exec_context *)context;
ctx->state = TAG_NONE;
if (UNDEF_P(ctx->result = jit_exec(ctx->ec))) {
ctx->result = vm_exec_core(ctx->ec);
}
ctx->result = vm_exec_core(ctx->ec);
vm_exec_enter_vm_loop(ctx->ec, ctx, ctx->tag, true);
}