Skip to content

Commit 4ff78ef

Browse files
author
James Marsh
committed
Add missing V128 handling in WASM_OP_BR, reported in #4173
1 parent 5d8fe5d commit 4ff78ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/iwasm/interpreter/wasm_interp_fast.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,11 @@ copy_stack_values(WASMModuleInstance *module, uint32 *frame_lp, uint32 arity,
10531053
frame_lp + dst_offsets[0], \
10541054
GET_I64_FROM_ADDR(frame_lp + src_offsets[0])); \
10551055
} \
1056+
else if (cells[0] == 4) { \
1057+
PUT_V128_TO_ADDR( \
1058+
frame_lp + dst_offsets[0], \
1059+
GET_V128_FROM_ADDR(frame_lp + src_offsets[0])); \
1060+
} \
10561061
} \
10571062
else { \
10581063
if (!copy_stack_values(module, frame_lp, arity, total_cell, \

0 commit comments

Comments
 (0)