From 6b865a70c0f29e5ca9e13fae4a2a18406f44f4ee Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 10 Nov 2025 23:47:36 +0100 Subject: Add current_memory and grow_memory operators --- src/interp/ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interp') diff --git a/src/interp/ops.c b/src/interp/ops.c index 2bfdff0..4a76fba 100644 --- a/src/interp/ops.c +++ b/src/interp/ops.c @@ -77,8 +77,8 @@ static void (*const ops[])(struct nw_interp *) = NULL, /* OP_I64_STORE8 */ NULL, /* OP_I64_STORE16 */ NULL, /* OP_I64_STORE32 */ - NULL, /* OP_CURRENT_MEMORY */ - NULL, /* OP_GROW_MEMORY */ + nwp_op_current_memory, /* OP_CURRENT_MEMORY */ + nwp_op_grow_memory, /* OP_GROW_MEMORY */ nwp_op_i32_const, /* OP_I32_CONST */ nwp_op_i64_const, /* OP_I64_CONST */ NULL, /* OP_F32_CONST */ -- cgit v1.2.3