Skip to content

Commit a5bdf35

Browse files
author
James Marsh
committed
Add missing condition for V128 in WASM_OP_TEE_LOCAL
1 parent a6a9f1f commit a5bdf35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/iwasm/interpreter/wasm_interp_fast.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5057,6 +5057,10 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
50575057
PUT_I64_TO_ADDR((uint32 *)(frame_lp + local_offset),
50585058
GET_I64_FROM_ADDR(frame_lp + addr1));
50595059
}
5060+
else if (local_type == VALUE_TYPE_V128) {
5061+
PUT_V128_TO_ADDR((frame_lp + local_offset),
5062+
GET_V128_FROM_ADDR(frame_lp + addr1));
5063+
}
50605064
#if WASM_ENABLE_GC != 0
50615065
else if (wasm_is_type_reftype(local_type)) {
50625066
PUT_REF_TO_ADDR((uint32 *)(frame_lp + local_offset),

0 commit comments

Comments
 (0)