commit 4b760ed91d958cdbc3beca03aa387014a3d65aa2
parent bafa35f1439bcde7dbb65aed22238029ff22dbcb
Author: William Casarin <jb55@jb55.com>
Date: Thu, 5 Aug 2021 07:05:28 -0700
actually print val when storing
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/wasm.c b/src/wasm.c
@@ -5276,7 +5276,11 @@ static int store_val(struct wasm_interp *interp, int i,
//make_cursor(target.pos, interp->memory.p, &mem);
- debug("storing %d at %ld (%d bytes), N:%d\n", val->num.i32,
+ debug("storing ");
+#ifdef DEBUG
+ print_val(val);
+#endif
+ debug(" at %ld (%d bytes), N:%d\n",
target.pos - interp->memory.start,
target.size, N);