Fix windows relocation string parsing issue (#3333)

The AOT compiler emits string with '\0' now, some string parsing in aot loader
for Windows platform need to be updated.
This commit is contained in:
Wenyong Huang
2024-04-19 16:09:03 +08:00
committed by GitHub
parent d6e8d224ce
commit 902aa525d1
2 changed files with 8 additions and 19 deletions

View File

@ -4202,7 +4202,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
else
#endif
{
*(uint32 *)global_addr = aux_stack_top;
*(uint32 *)global_addr = (uint32)aux_stack_top;
frame_sp--;
}
#if WASM_ENABLE_MEMORY_PROFILING != 0