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:
parent
8d7861e3da
commit
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;
|
struct rb_vm_exec_context *ctx = (struct rb_vm_exec_context *)context;
|
||||||
|
|
||||||
ctx->state = TAG_NONE;
|
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);
|
vm_exec_enter_vm_loop(ctx->ec, ctx, ctx->tag, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user