wasm-micro-runtime/core/iwasm
Wenyong Huang ef3babc658
interp: Restore context from prev_frame after tail calling a native function (#3283)
The current frame was freed before tail calling to an import or native function
and the prev_frame was set as exec_env's cur_frame, so after the tail calling,
we should recover context from prev_frame but not current frame.

Found in https://github.com/bytecodealliance/wasm-micro-runtime/issues/3279.
2024-04-08 09:23:20 +08:00
..
aot Enhance wasm loading with LoadArgs and support module names (#3265) 2024-04-07 15:04:35 +08:00
common thread mgr: Free aux stack only when it was allocated (#3282) 2024-04-08 09:06:49 +08:00
compilation Enhance wasm loading with LoadArgs and support module names (#3265) 2024-04-07 15:04:35 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit thread mgr: Free aux stack only when it was allocated (#3282) 2024-04-08 09:06:49 +08:00
include Enhance wasm loading with LoadArgs and support module names (#3265) 2024-04-07 15:04:35 +08:00
interpreter interp: Restore context from prev_frame after tail calling a native function (#3283) 2024-04-08 09:23:20 +08:00
libraries thread mgr: Free aux stack only when it was allocated (#3282) 2024-04-08 09:06:49 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00