summaryrefslogtreecommitdiff
path: root/test/binaryen.js/zero-filled-memory.js.txt
blob: dec414e3b5e80c10c2e29a1d13612f9d0f497dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
=== input wast ===
(module
 (import "env" "memory" (memory $0 1))
 (data (i32.const 1024) "\00\00\00\00")
 (export "memory" (memory $0))
)

=== unoptimized ===
(module
 (import "env" "memory" (memory $0 1))
 (data $0 (i32.const 1024) "\00\00\00\00")
 (export "memory" (memory $0))
)

=== optimized, zeroFilledMemory=false ===
(module
 (import "env" "memory" (memory $0 1))
 (data $0 (i32.const 1024) "\00\00\00\00")
 (export "memory" (memory $0))
)


=== optimized, zeroFilledMemory=true ===
(module
 (import "env" "memory" (memory $0 1))
 (export "memory" (memory $0))
)