wasm-micro-runtime/core/iwasm/interpreter
Wenyong Huang 943274e3b9
Fix GC struct field offset calculation in AOT compiler (#2746)
The struct field size and field offset of a wasm struct may vary
in 32-bit target and 64-bit target, the aot compiler should not
use the offset calculated in wasm loader. It re-calculates them
according to the target info and whether GC is enabled.

And set the alignment of sruct.get/set when field size is 2, 4, or 8.
2023-11-13 15:22:10 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Merge branch main into dev/gc_refactor 2023-11-03 15:39:28 +08:00
wasm_interp_fast.c Merge branch main into dev/gc_refactor 2023-11-03 15:39:28 +08:00
wasm_interp.h Merge branch dev/aot_stack_frame into dev/gc_refactor 2023-10-09 14:21:39 +08:00
wasm_loader.c Fix GC struct field offset calculation in AOT compiler (#2746) 2023-11-13 15:22:10 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Fix GC struct field offset calculation in AOT compiler (#2746) 2023-11-13 15:22:10 +08:00
wasm_opcode.h Support stringref proposal (#2651) 2023-10-23 12:45:37 +08:00
wasm_runtime.c Fix more GC AOT/JIT issues (#2727) 2023-11-09 08:52:56 +08:00
wasm_runtime.h Fix more GC AOT/JIT issues (#2727) 2023-11-09 08:52:56 +08:00
wasm.h Fix GC struct field offset calculation in AOT compiler (#2746) 2023-11-13 15:22:10 +08:00