Support AssemblyScript's new/retain/release APIs (#460)
This commit is contained in:
@ -512,6 +512,7 @@ aot_create_comp_data(WASMModule *module)
|
||||
comp_data->start_func_index = module->start_function;
|
||||
comp_data->malloc_func_index = module->malloc_function;
|
||||
comp_data->free_func_index = module->free_function;
|
||||
comp_data->retain_func_index = module->retain_function;
|
||||
|
||||
comp_data->wasm_module = module;
|
||||
|
||||
|
||||
@ -206,6 +206,7 @@ typedef struct AOTCompData {
|
||||
uint32 start_func_index;
|
||||
uint32 malloc_func_index;
|
||||
uint32 free_func_index;
|
||||
uint32 retain_func_index;
|
||||
|
||||
uint32 aux_data_end_global_index;
|
||||
uint32 aux_data_end;
|
||||
|
||||
Reference in New Issue
Block a user