aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nanowasm/private.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/nanowasm/private.h b/include/nanowasm/private.h
index 6b134f1..4a378d3 100644
--- a/include/nanowasm/private.h
+++ b/include/nanowasm/private.h
@@ -307,6 +307,15 @@ union nw_i_sm
union nw_value condition;
} br_if;
+ struct nw_i_sm_br_table
+ {
+ int set;
+ nw_varuint32 target_count, target_i, relative_depth;
+ struct nw_sm_leb128 leb128;
+ struct nw_sm_io io;
+ long offset;
+ } br_table;
+
struct nw_i_sm_call
{
nw_varuint32 index;
@@ -396,7 +405,7 @@ union nw_i_sm
struct nw_i_sm_break
{
- nw_varuint32 relative_depth, label_i;
+ nw_varuint32 relative_depth, table_offset, label_i, toffset_i;
struct nw_sm_io io;
long pc, lo;
struct nw_leuint32 offset, lpc, dst, n;