diff options
-rw-r--r-- | Userland/Libraries/LibWasm/AbstractMachine/Validator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWasm/AbstractMachine/Validator.cpp b/Userland/Libraries/LibWasm/AbstractMachine/Validator.cpp index bfae046f22..a64d4958ea 100644 --- a/Userland/Libraries/LibWasm/AbstractMachine/Validator.cpp +++ b/Userland/Libraries/LibWasm/AbstractMachine/Validator.cpp @@ -1873,6 +1873,7 @@ VALIDATE_INSTRUCTION(memory_grow) { TRY(validate(MemoryIndex { 0 })); TRY((stack.take<ValueType::I32>())); + stack.append(ValueType(ValueType::I32)); return {}; } |