File tree 2 files changed +4
-0
lines changed 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5711,6 +5711,7 @@ orcjit_thread_callback(void *arg)
5711
5711
static void
5712
5712
orcjit_stop_compile_threads(WASMModule *module)
5713
5713
{
5714
+ #if WASM_ENABLE_LAZY_JIT != 0
5714
5715
uint32 i, thread_num = (uint32)(sizeof(module->orcjit_thread_args)
5715
5716
/ sizeof(OrcJitThreadArg));
5716
5717
@@ -5719,6 +5720,7 @@ orcjit_stop_compile_threads(WASMModule *module)
5719
5720
if (module->orcjit_threads[i])
5720
5721
os_thread_join(module->orcjit_threads[i], NULL);
5721
5722
}
5723
+ #endif
5722
5724
}
5723
5725
5724
5726
static bool
Original file line number Diff line number Diff line change @@ -2493,6 +2493,7 @@ orcjit_thread_callback(void *arg)
2493
2493
static void
2494
2494
orcjit_stop_compile_threads (WASMModule * module )
2495
2495
{
2496
+ #if WASM_ENABLE_LAZY_JIT != 0
2496
2497
uint32 i , thread_num = (uint32 )(sizeof (module -> orcjit_thread_args )
2497
2498
/ sizeof (OrcJitThreadArg ));
2498
2499
@@ -2501,6 +2502,7 @@ orcjit_stop_compile_threads(WASMModule *module)
2501
2502
if (module -> orcjit_threads [i ])
2502
2503
os_thread_join (module -> orcjit_threads [i ], NULL );
2503
2504
}
2505
+ #endif
2504
2506
}
2505
2507
2506
2508
static bool
You can’t perform that action at this time.
0 commit comments