Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Process grow_memory properly #1

Open
axic opened this issue Aug 14, 2016 · 0 comments
Open

Process grow_memory properly #1

axic opened this issue Aug 14, 2016 · 0 comments

Comments

@axic
Copy link
Member

axic commented Aug 14, 2016

(grow_memory <pages>) should be replaced with the following code:

(call_import $useGas (i32.mul (<pages>) (i32.const <cost of each page>)))
(grow_memory <pages>)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant