зеркало из https://github.com/github/ruby.git
Skip calling jit_exec on Wasm
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:
Родитель
8d7861e3da
Коммит
e80752f9bb
4
vm.c
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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче