[wasm-shape] Use hb allocators

This commit is contained in:
Behdad Esfahbod 2023-02-25 15:03:03 -07:00
parent 4096115b48
commit 3226b4342b
1 changed files with 0 additions and 2 deletions

View File

@ -72,8 +72,6 @@ init_wasm ()
init_args.mem_alloc_option.allocator.realloc_func = (void *) hb_realloc;
init_args.mem_alloc_option.allocator.free_func = (void *) hb_free;
init_args.mem_alloc_type = Alloc_With_System_Allocator;
// Native symbols need below registration phase
init_args.n_native_symbols = ARRAY_LENGTH (_hb_wasm_native_symbols);
init_args.native_module_name = "env";