1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

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

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 {};
}