Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/store1.wast.json

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/store1.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 1,
7 "name": "M1",
8 "filename": "store1.0.wasm",
9 "module_type": "binary"
10 },
11 {
12 "type": "register",
13 "line": 11,
14 "as": "M1"
15 },
16 {
17 "type": "module",
18 "line": 13,
19 "name": "M2",
20 "filename": "store1.1.wasm",
21 "module_type": "binary"
22 },
23 {
24 "type": "register",
25 "line": 23,
26 "as": "M2"
27 },
28 {
29 "type": "action",
30 "line": 25,
31 "action": {
32 "type": "invoke",
33 "module": "M1",
34 "field": "store",
35 "args": [
36 {
37 "type": "i32",
38 "value": "0"
39 },
40 {
41 "type": "i64",
42 "value": "1"
43 }
44 ]
45 }
46 },
47 {
48 "type": "action",
49 "line": 26,
50 "action": {
51 "type": "invoke",
52 "module": "M2",
53 "field": "store",
54 "args": [
55 {
56 "type": "i32",
57 "value": "0"
58 },
59 {
60 "type": "i64",
61 "value": "2"
62 }
63 ]
64 }
65 },
66 {
67 "type": "assert_return",
68 "line": 27,
69 "action": {
70 "type": "invoke",
71 "module": "M1",
72 "field": "load",
73 "args": [
74 {
75 "type": "i32",
76 "value": "0"
77 }
78 ]
79 },
80 "expected": [
81 {
82 "type": "i64",
83 "value": "1"
84 }
85 ]
86 },
87 {
88 "type": "assert_return",
89 "line": 28,
90 "action": {
91 "type": "invoke",
92 "module": "M2",
93 "field": "load",
94 "args": [
95 {
96 "type": "i32",
97 "value": "0"
98 }
99 ]
100 },
101 "expected": [
102 {
103 "type": "i64",
104 "value": "2"
105 }
106 ]
107 },
108 {
109 "type": "module",
110 "line": 30,
111 "filename": "store1.2.wasm",
112 "module_type": "binary"
113 },
114 {
115 "type": "action",
116 "line": 49,
117 "action": {
118 "type": "invoke",
119 "field": "store1",
120 "args": [
121 {
122 "type": "i32",
123 "value": "0"
124 },
125 {
126 "type": "i64",
127 "value": "1"
128 }
129 ]
130 }
131 },
132 {
133 "type": "action",
134 "line": 50,
135 "action": {
136 "type": "invoke",
137 "field": "store2",
138 "args": [
139 {
140 "type": "i32",
141 "value": "0"
142 },
143 {
144 "type": "i64",
145 "value": "2"
146 }
147 ]
148 }
149 },
150 {
151 "type": "assert_return",
152 "line": 51,
153 "action": {
154 "type": "invoke",
155 "field": "load1",
156 "args": [
157 {
158 "type": "i32",
159 "value": "0"
160 }
161 ]
162 },
163 "expected": [
164 {
165 "type": "i64",
166 "value": "1"
167 }
168 ]
169 },
170 {
171 "type": "assert_return",
172 "line": 52,
173 "action": {
174 "type": "invoke",
175 "field": "load2",
176 "args": [
177 {
178 "type": "i32",
179 "value": "0"
180 }
181 ]
182 },
183 "expected": [
184 {
185 "type": "i64",
186 "value": "2"
187 }
188 ]
189 }
190 ]
191 }