commit aae7d899797b594d46110bf644c40c98824295ac
parent 4b298bfcad65bac1a24221e59a57c3ce86a9830d
Author: William Casarin <jb55@jb55.com>
Date: Fri, 16 Jul 2021 13:49:17 -0700
reset resolver stack between runs
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/wasm.c b/src/wasm.c
@@ -3176,6 +3176,7 @@ int interp_wasm_module(struct wasm_interp *interp)
// reset cursors
reset_cursor(&interp->stack);
+ reset_cursor(&interp->resolver_stack);
reset_cursor(&interp->errors.cur);
reset_cursor(&interp->locals);
reset_cursor(&interp->locals_offsets);