support tail-call in AoT (#419)
This commit is contained in:
@ -2093,8 +2093,14 @@ aot_convert_wasm_module(WASMModule *wasm_module,
|
||||
}
|
||||
|
||||
option.is_jit_mode = true;
|
||||
#if WASM_ENABLE_BULK_MEMORY != 0
|
||||
option.enable_bulk_memory = true;
|
||||
#endif
|
||||
#if WASM_ENABLE_THREAD_MGR != 0
|
||||
option.enable_thread_mgr = true;
|
||||
#endif
|
||||
#if WASM_ENABLE_TAIL_CALL != 0
|
||||
option.enable_tail_call = true;
|
||||
#endif
|
||||
comp_ctx = aot_create_comp_context(comp_data, &option);
|
||||
if (!comp_ctx) {
|
||||
|
||||
Reference in New Issue
Block a user