Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/memory_redundancy64.wast/0.print

raw
1 (module
2 (type (;0;) (func))
3 (type (;1;) (func (result i32)))
4 (type (;2;) (func (result f32)))
5 (type (;3;) (func (param i64) (result i64)))
6 (memory (;0;) i64 1 1)
7 (export "zero_everything" (func 0))
8 (export "test_store_to_load" (func 1))
9 (export "test_redundant_load" (func 2))
10 (export "test_dead_store" (func 3))
11 (export "malloc" (func $malloc))
12 (export "malloc_aliasing" (func 5))
13 (func (;0;) (type 0)
14 i64.const 0
15 i32.const 0
16 i32.store
17 i64.const 4
18 i32.const 0
19 i32.store
20 i64.const 8
21 i32.const 0
22 i32.store
23 i64.const 12
24 i32.const 0
25 i32.store
26 )
27 (func (;1;) (type 1) (result i32)
28 i64.const 8
29 i32.const 0
30 i32.store
31 i64.const 5
32 f32.const -0x0p+0 (;=-0;)
33 f32.store
34 i64.const 8
35 i32.load
36 )
37 (func (;2;) (type 1) (result i32)
38 (local $t i32) (local $s i32)
39 i64.const 8
40 i32.load
41 local.set $t
42 i64.const 5
43 i32.const -2147483648
44 i32.store
45 i64.const 8
46 i32.load
47 local.set $s
48 local.get $t
49 local.get $s
50 i32.add
51 )
52 (func (;3;) (type 2) (result f32)
53 (local $t f32)
54 i64.const 8
55 i32.const 589505315
56 i32.store
57 i64.const 11
58 f32.load
59 local.set $t
60 i64.const 8
61 i32.const 0
62 i32.store
63 local.get $t
64 )
65 (func $malloc (;4;) (type 3) (param $size i64) (result i64)
66 i64.const 16
67 )
68 (func (;5;) (type 1) (result i32)
69 (local $x i64) (local $y i64)
70 i64.const 4
71 call $malloc
72 local.set $x
73 i64.const 4
74 call $malloc
75 local.set $y
76 local.get $x
77 i32.const 42
78 i32.store
79 local.get $y
80 i32.const 43
81 i32.store
82 local.get $x
83 i32.load
84 )
85 )