diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-binary.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index ebaa8461d..771b75404 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1576,6 +1576,7 @@ public: case BinaryConsts::MemorySize: curr->op = MemorySize; break; case BinaryConsts::GrowMemory: { curr->op = GrowMemory; + curr->operands.resize(1); readExpression(curr->operands[0]); break; } |