summaryrefslogtreecommitdiff
path: root/test/passes/reorder-locals.wast
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2016-03-04 17:09:47 -0800
committerDerek Schuff <dschuff@chromium.org>2016-03-09 13:04:18 -0800
commit1b45938aadd6e03e9210d88436be9c393623fb42 (patch)
tree24028248c7b9999a8d46bbab913fbe460d76bc46 /test/passes/reorder-locals.wast
parente9d98deed872a72a826f78c8525464c446c6f21b (diff)
downloadbinaryen-1b45938aadd6e03e9210d88436be9c393623fb42.tar.gz
binaryen-1b45938aadd6e03e9210d88436be9c393623fb42.tar.bz2
binaryen-1b45938aadd6e03e9210d88436be9c393623fb42.zip
Make initial and max memory sizes be in pages instead of bytes
The AST and everything that uses it treats the values as pages. Javascript continues to use bytes. This matches v8 and sexpr-wasm, and the consensus from live discussion and PR209 in the spec.
Diffstat (limited to 'test/passes/reorder-locals.wast')
-rw-r--r--test/passes/reorder-locals.wast2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/passes/reorder-locals.wast b/test/passes/reorder-locals.wast
index 282f7ff98..ff840e3ca 100644
--- a/test/passes/reorder-locals.wast
+++ b/test/passes/reorder-locals.wast
@@ -1,5 +1,5 @@
(module
- (memory 16777216 16777216)
+ (memory 256 256)
(func $b0-yes (param $a i32) (param $b i32)
(local $x i32)
(local $y i32)