Add support for multi-memory proposal in classic interpreter (#3742)
Implement multi-memory for classic-interpreter. Support core spec (and bulk memory) opcodes now, and will support atomic opcodes, and add multi-memory export APIs in the future. PS: Multi-memory spec test patched a lot for linking test to adapt for multi-module implementation.
This commit is contained in:
@ -2817,6 +2817,13 @@ aot_enlarge_memory(AOTModuleInstance *module_inst, uint32 inc_page_count)
|
||||
return wasm_enlarge_memory(module_inst, inc_page_count);
|
||||
}
|
||||
|
||||
bool
|
||||
aot_enlarge_memory_with_idx(AOTModuleInstance *module_inst,
|
||||
uint32 inc_page_count, uint32 memidx)
|
||||
{
|
||||
return wasm_enlarge_memory_with_idx(module_inst, inc_page_count, memidx);
|
||||
}
|
||||
|
||||
bool
|
||||
aot_invoke_native(WASMExecEnv *exec_env, uint32 func_idx, uint32 argc,
|
||||
uint32 *argv)
|
||||
|
||||
Reference in New Issue
Block a user