WebAssembly / spec

WebAssembly specification, reference interpreter, and test suite.
https://webassembly.github.io/spec/
Other
3.11k stars 439 forks source link

[spec] Add missing initialization value to table.grow reduction rule #1607

Closed tomstuart closed 1 year ago

tomstuart commented 1 year ago

This rule was probably copied from the (very similar) memory.grow rule when it was introduced by #1287 in c3d5cbc1f7c6b166b7a312adc4efdb7e34746b3d. While memory.grow doesn’t have an initialization value, table.grow does.

rossberg commented 1 year ago

Strike that, I need coffee. :)

rossberg commented 1 year ago

Thanks!

tomstuart commented 1 year ago

Right, we still need to remove it from the stack. Sorry, should’ve been clearer!