summaryrefslogtreecommitdiff
path: root/include/wabt/ir.h
diff options
context:
space:
mode:
authorChristian Nieves <christian@nieves.io>2024-09-20 11:33:40 -0500
committerGitHub <noreply@github.com>2024-09-20 09:33:40 -0700
commitb287470b53ef074332c4b0056cfc05486a85c4a7 (patch)
treeab4df3c39d15cd24b5347bc659a3b649b4140ac6 /include/wabt/ir.h
parent54b3f5fbd5cc851b4efe1b6ffd3331612c87c0e9 (diff)
downloadwabt-b287470b53ef074332c4b0056cfc05486a85c4a7.tar.gz
wabt-b287470b53ef074332c4b0056cfc05486a85c4a7.tar.bz2
wabt-b287470b53ef074332c4b0056cfc05486a85c4a7.zip
[wasm2c] Fix alternate stack deallocation (#2466)
This makes `wasm_rt_init()` properly reentrant. By setting `g_alt_stack = NULL`, we allow execution to continue beyond [wasm-rt-impl.c L171 ](https://github.com/WebAssembly/wabt/blob/main/wasm2c/wasm-rt-impl.c#L171) in `os_allocate_and_install_altstack`. Applies to debug builds only due to `assert`.
Diffstat (limited to 'include/wabt/ir.h')
0 files changed, 0 insertions, 0 deletions