aboutsummaryrefslogtreecommitdiff
path: root/examples/example.wasm
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-11-07 12:18:21 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2025-11-07 12:18:21 +0100
commit5d633bf6e21af1a6c093433547da65e1d810aa14 (patch)
treee0b63dcb8e3bb996ef8eb97c615d7a2a9f4dc563 /examples/example.wasm
parentc33a13fba8a0674fcc2d835021cc37f6cfe3d8fa (diff)
downloadnanowasm-5d633bf6e21af1a6c093433547da65e1d810aa14.tar.gz
set_local.c: Fix set_param to valid next
set_local is meant to write a local variable, while allowing the use of a caller-defined callback when finished. While this was already correctly implemented by set_local, set_param was incorrectly calling nwp_interp_resume instead of the caller-defined callback. This had the side effect of tee_local not being able to push the value into the stack when the local index referred to a parameter, thus causing undefined behaviour.
Diffstat (limited to 'examples/example.wasm')
0 files changed, 0 insertions, 0 deletions