diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2016-02-19 16:19:21 -0800 |
|---|---|---|
| committer | Dan Gohman <sunfish@mozilla.com> | 2016-02-19 16:20:37 -0800 |
| commit | 953a1b0e7bb9f5cdcb1d3e2718bf2a5779c6fec2 (patch) | |
| tree | 98d34e226ce6dc5118656a465b0b93bea6012316 /AstSemantics.md | |
| parent | aea48078aef9fbcaf52b3f728c2231b2fe375437 (diff) | |
| download | nanowasm-design-953a1b0e7bb9f5cdcb1d3e2718bf2a5779c6fec2.tar.gz | |
Make `grow_memory` return the old memory size.
This implements the discussion in bug #525.
Diffstat (limited to 'AstSemantics.md')
| -rw-r--r-- | AstSemantics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AstSemantics.md b/AstSemantics.md index 1924810..2e92fd0 100644 --- a/AstSemantics.md +++ b/AstSemantics.md @@ -206,7 +206,7 @@ which is 64KiB on all engines (though large page support may be added in the [future](FutureFeatures.md#large-page-support)). * `grow_memory` : grow linear memory by a given unsigned delta which - must be a multiple of the page size. + must be a multiple of the page size. Return the previous memory size. As stated [above](AstSemantics.md#linear-memory), linear memory is contiguous, meaning there are no "holes" in the linear address space. After the |
