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:
parent
48c3c01de4
commit
6e07e74261
1 changed files with 1 additions and 0 deletions
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue