Implement GetCurrentThreadStackLimits() for Windows 7 (#914)
And fix compilation error of when build wamrc, fix compilation warnings
This commit is contained in:
@ -3114,7 +3114,7 @@ aot_unload(AOTModule *module)
|
||||
wasm_runtime_free(module->aux_func_indexes);
|
||||
}
|
||||
if (module->aux_func_names) {
|
||||
wasm_runtime_free(module->aux_func_names);
|
||||
wasm_runtime_free((void *)module->aux_func_names);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@ -459,8 +459,6 @@ aot_compile_func(AOTCompContext *comp_ctx, uint32 func_index)
|
||||
}
|
||||
case WASM_OP_REF_FUNC:
|
||||
{
|
||||
uint32 func_idx;
|
||||
|
||||
if (!comp_ctx->enable_ref_types) {
|
||||
goto unsupport_ref_types;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user