summaryrefslogtreecommitdiff
path: root/test/multi-memories-basics.wast.fromBinary.noDebugInfo
blob: 7401787dcea9c0ac1416dbac60d9709fc4147f10 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
(module
 (type $0 (func))
 (type $1 (func (result i32)))
 (import "env" "memory" (memory $mimport$0 1 1))
 (memory $0 1 500)
 (memory $1 1 800)
 (memory $2 1 400)
 (data $0 (i32.const 0) "abcd")
 (func $0 (type $0)
  (memory.fill $1
   (i32.const 0)
   (i32.const 1)
   (i32.const 2)
  )
 )
 (func $1 (type $0)
  (memory.copy $1 $2
   (i32.const 512)
   (i32.const 0)
   (i32.const 12)
  )
 )
 (func $2 (type $0)
  (memory.init $0 $0
   (i32.const 0)
   (i32.const 0)
   (i32.const 45)
  )
 )
 (func $3 (type $1) (result i32)
  (memory.grow $2
   (i32.const 10)
  )
 )
 (func $4 (type $1) (result i32)
  (memory.size $2)
 )
 (func $5 (type $0)
  (drop
   (i32.load $0
    (i32.const 12)
   )
  )
  (drop
   (i32.load $2
    (i32.const 12)
   )
  )
  (drop
   (i32.load16_s $1
    (i32.const 12)
   )
  )
  (drop
   (i32.load16_s $1
    (i32.const 12)
   )
  )
  (drop
   (i32.load8_s $2
    (i32.const 12)
   )
  )
  (drop
   (i32.load8_s $2
    (i32.const 12)
   )
  )
  (drop
   (i32.load16_u $0
    (i32.const 12)
   )
  )
  (drop
   (i32.load16_u $0
    (i32.const 12)
   )
  )
  (drop
   (i32.load8_u $1
    (i32.const 12)
   )
  )
  (drop
   (i32.load8_u $1
    (i32.const 12)
   )
  )
 )
 (func $6 (type $0)
  (i32.store $0
   (i32.const 12)
   (i32.const 115)
  )
  (i32.store $0
   (i32.const 12)
   (i32.const 115)
  )
  (i32.store16 $1
   (i32.const 20)
   (i32.const 31353)
  )
  (i32.store16 $mimport$0
   (i32.const 20)
   (i32.const 31353)
  )
  (i32.store8 $2
   (i32.const 23)
   (i32.const 120)
  )
  (i32.store8 $2
   (i32.const 23)
   (i32.const 120)
  )
 )
)