Fix wasm_type_equal check in wasm_mini_loader.c (#1394)
Fix wasm_type_equal check error in wasm_mini_loader.c: wasm_type_equal(type, j) -> wasm_type_equal(type, module->types[j]) And remove unused comments in aot_runtime.h
This commit is contained in:
@ -624,16 +624,6 @@ aot_get_native_addr_range(AOTModuleInstance *module_inst, uint8 *native_ptr,
|
||||
bool
|
||||
aot_enlarge_memory(AOTModuleInstance *module_inst, uint32 inc_page_count);
|
||||
|
||||
/**
|
||||
* Compare whether two wasm types are equal according to the indexs
|
||||
*
|
||||
* @param module_inst the AOT module instance
|
||||
* @param type1_idx index of the first wasm type
|
||||
* @param type2_idx index of the second wasm type
|
||||
*
|
||||
* @return true if equal, false otherwise
|
||||
*/
|
||||
|
||||
/**
|
||||
* Invoke native function from aot code
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user