This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/libraries
Wenyong Huang a182926a73
Refactor interpreter/AOT module instance layout (#1559)
Refactor the layout of interpreter and AOT module instance:
- Unify the interp/AOT module instance, use the same WASMModuleInstance/
  WASMMemoryInstance/WASMTableInstance data structures for both interpreter
  and AOT
- Make the offset of most fields the same in module instance for both interpreter
  and AOT, append memory instance structure, global data and table instances to
  the end of module instance for interpreter mode (like AOT mode)
- For extra fields in WASM module instance, use WASMModuleInstanceExtra to
  create a field `e` for interpreter
- Change the LLVM JIT module instance creating process, LLVM JIT uses the WASM
  module and module instance same as interpreter/Fast-JIT mode. So that Fast JIT
  and LLVM JIT can access the same data structures, and make it possible to
  implement the Multi-tier JIT (tier-up from Fast JIT to LLVM JIT) in the future
- Unify some APIs: merge some APIs for module instance and memory instance's
  related operations (only implement one copy)

Note that the AOT ABI is same, the AOT file format, AOT relocation types, how AOT
code accesses the AOT module instance and so on are kept unchanged.

Refer to:
https://github.com/bytecodealliance/wasm-micro-runtime/issues/1384
2022-10-18 10:59:28 +08:00
..
debug-engine Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
lib-pthread Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
lib-rats Fix a potential memory leak issue in wasm_native_init (#1465) 2022-09-08 14:22:34 +08:00
lib-socket Fix build socket api error (#1610) 2022-10-17 15:54:03 +08:00
libc-builtin Make libc-builtin buffered printf be a common feature (#1483) 2022-09-15 15:09:01 +08:00
libc-emcc Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
libc-uvwasi Fix libc-wasi/uvwasi poll/environ_get issues (#1300) 2022-07-20 20:02:26 +08:00
libc-wasi Update __wasi_sock_accept signature to match wasi_snapshot_preview1 (#1531) 2022-09-29 09:29:54 +08:00
thread-mgr thread-mgr: Prevent an already detached thread from being detached again (#1487) 2022-09-15 17:13:33 +08:00
wasi-nn Integrate WASI-NN into WAMR (#1521) 2022-10-12 12:09:29 +08:00