grow_memory is renamed to memory.grow in the spec.

This commit is contained in:
Dan Gohman
2018-08-11 07:32:37 -07:00
parent c12ae182c3
commit 4e24064251
2 changed files with 3 additions and 3 deletions

View File

@@ -11,13 +11,13 @@
(func $main (local i32)
(call $assert
(i32.eq
(grow_memory (i32.const 1))
(memory.grow (i32.const 1))
(i32.const 1)
)
)
(call $assert
(i32.eq
(current_memory)
(memory.size)
(i32.const 2)
)
)