From 0b2a1fd9439d5ab1cdc076d7b9f1e763c4900b74 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 15 Nov 2025 18:48:16 +0100 Subject: Add br_table br_table is in fact a generalization of other branch types like br or br_if, since br_table contains several branches for the same pc inside the nw_lo section. Therefore, this kind of branch forced some changes to nwp_break and those relying on it. --- src/op/br.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/op/br.c') diff --git a/src/op/br.c b/src/op/br.c index dd0066f..212d5dd 100644 --- a/src/op/br.c +++ b/src/op/br.c @@ -23,7 +23,7 @@ static enum nw_state get_relative_depth(struct nw_interp *const i) if (n) return n; - nwp_break(i, b->relative_depth); + nwp_break(i, b->relative_depth, 0); return NW_AGAIN; } -- cgit v1.2.3