LibWasm: Make local_tee validation keep the value on the stack

This commit is contained in:
Ali Mohammad Pur 2022-04-22 09:55:20 +04:30 committed by Ali Mohammad Pur
parent 48c3c01de4
commit 6e07e74261
Notes: sideshowbarker 2024-07-18 04:38:32 +09:00

View file

@ -1420,6 +1420,7 @@ VALIDATE_INSTRUCTION(local_tee)
auto& value_type = m_context.locals[index.value()];
TRY(stack.take(value_type));
stack.append(value_type);
return {};
}