[wasm-shape] No need to set default runnint mode
It's detected automatically apparently.
This commit is contained in:
parent
2004528cf8
commit
0d237d062e
|
@ -62,11 +62,6 @@ init_wasm ()
|
|||
RuntimeInitArgs init_args;
|
||||
memset (&init_args, 0, sizeof (RuntimeInitArgs));
|
||||
|
||||
if (wasm_runtime_is_running_mode_supported (Mode_LLVM_JIT))
|
||||
init_args.running_mode = Mode_LLVM_JIT;
|
||||
else if (wasm_runtime_is_running_mode_supported (Mode_Fast_JIT))
|
||||
init_args.running_mode = Mode_Fast_JIT;
|
||||
|
||||
init_args.mem_alloc_type = Alloc_With_Allocator;
|
||||
init_args.mem_alloc_option.allocator.malloc_func = (void *) hb_malloc;
|
||||
init_args.mem_alloc_option.allocator.realloc_func = (void *) hb_realloc;
|
||||
|
|
Loading…
Reference in New Issue