wasm-micro-runtime/core/iwasm/interpreter
Wenyong Huang d2772c4153
Re-org calling post instantiation functions (#1972)
- Use execute_post_instantiate_functions to call start, _initialize,
  __post_instantiate, __wasm_call_ctors functions after instantiation
- Always call start function for both main instance and sub instance
- Only call _initialize and __post_instantiate for main instance
- Only call ___wasm_call_ctors for main instance and when bulk memory
  is enabled and wasi import functions are not found
- When hw bound check is enabled, use the existing exec_env_tls
  to call func for sub instance, and switch exec_env_tls's module inst
  to current module inst to avoid checking failure and using the wrong
  module inst
2023-02-22 12:24:11 +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 Don't call start/initialize in child thread's instantiation (#1967) 2023-02-17 15:11:05 +08:00
wasm_interp_fast.c Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm_interp.h Fix issue of restoring wasm operand stack (#1721) 2022-11-18 18:51:13 +08:00
wasm_loader.c Merge branch main into dev/wasi_threads 2023-02-17 08:46:12 +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 Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm_opcode.h Fix data races in atomic wait/notify and interp goto table (#1971) 2023-02-22 11:43:49 +08:00
wasm_runtime.c Re-org calling post instantiation functions (#1972) 2023-02-22 12:24:11 +08:00
wasm_runtime.h Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00
wasm.h Use shared memory lock for threads generated from same module (#1960) 2023-02-16 11:54:19 +08:00