Commit Graph

4 Commits

Author SHA1 Message Date
Dan Gohman
c5f0cd7d5e Enforce the wasm memory size limit on heaps with no maximum. 2018-08-28 16:54:28 -07:00
Dan Gohman
f2ad79963c Add a comment about "dynamic" heaps. 2018-08-28 16:54:28 -07:00
Dan Gohman
c12ae182c3 Enforce the linear-memory maximum size.
Also, support linear memories with no maximum, and dynamic remapping.
2018-08-28 16:54:28 -07:00
Sergey Pepyakin
e7c8d23a42 Implement memory.grow and memory.current (#9)
* Implement.

* Clean and doc

* Collect base addresses instead of leaking them

* Fix code for 1.25.

* Simplify $assert

* Use AbiParam::special.

* Use &mut self in base_addr
2018-08-11 06:52:43 -07:00