commit 1510bdf80c906f7559a919f5009b8ab43a84f3fc
parent 86c6070db13b8634db6d998f92550878de8b074a
Author: William Casarin <jb55@jb55.com>
Date: Fri, 16 Jul 2021 10:42:17 -0700
uhh don't commit this
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wasm.c b/src/wasm.c
@@ -2941,7 +2941,7 @@ static int interp_br_if(struct wasm_interp *interp)
return interp_error(interp, "pop br_if i32");
}
- if (cond != 1)
+ if (cond != 0)
return interp_br_jump(interp, ind);
return 1;