mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
a182926a73
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
35 lines
646 B
Plaintext
35 lines
646 B
Plaintext
.cache
|
|
.vs
|
|
.vscode
|
|
.venv
|
|
/.idea
|
|
**/cmake-build-*/
|
|
**/*build/
|
|
*.obj
|
|
*.a
|
|
*.so
|
|
|
|
core/deps/**
|
|
core/shared/mem-alloc/tlsf
|
|
core/app-framework/wgl
|
|
|
|
wamr-sdk/out/
|
|
wamr-sdk/runtime/build_runtime_sdk/
|
|
test-tools/host-tool/bin/
|
|
product-mini/app-samples/hello-world/test.wasm
|
|
product-mini/platforms/linux-sgx/enclave-sample/App/
|
|
product-mini/platforms/linux-sgx/enclave-sample/Enclave/
|
|
product-mini/platforms/linux-sgx/enclave-sample/iwasm
|
|
|
|
build_out
|
|
tests/wamr-test-suites/workspace
|
|
|
|
!/test-tools/wamr-ide/VSCode-Extension/.vscode
|
|
|
|
samples/socket-api/wasm-src/inc/pthread.h
|
|
|
|
**/__pycache__
|
|
|
|
# ignore benchmarks generated
|
|
tests/benchmarks/coremark/coremark*
|