Debian Codegraph @

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

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/data_drop0.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 2,
7 "filename": "data_drop0.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "action",
12 "line": 18,
13 "action": {
14 "type": "invoke",
15 "field": "init_passive",
16 "args": [
17 {
18 "type": "i32",
19 "value": "1"
20 }
21 ]
22 }
23 },
24 {
25 "type": "action",
26 "line": 19,
27 "action": {
28 "type": "invoke",
29 "field": "drop_passive",
30 "args": []
31 }
32 },
33 {
34 "type": "action",
35 "line": 20,
36 "action": {
37 "type": "invoke",
38 "field": "drop_passive",
39 "args": []
40 }
41 },
42 {
43 "type": "assert_return",
44 "line": 21,
45 "action": {
46 "type": "invoke",
47 "field": "init_passive",
48 "args": [
49 {
50 "type": "i32",
51 "value": "0"
52 }
53 ]
54 },
55 "expected": []
56 },
57 {
58 "type": "assert_trap",
59 "line": 22,
60 "action": {
61 "type": "invoke",
62 "field": "init_passive",
63 "args": [
64 {
65 "type": "i32",
66 "value": "1"
67 }
68 ]
69 },
70 "text": "out of bounds memory access"
71 },
72 {
73 "type": "action",
74 "line": 23,
75 "action": {
76 "type": "invoke",
77 "field": "init_passive",
78 "args": [
79 {
80 "type": "i32",
81 "value": "0"
82 }
83 ]
84 }
85 },
86 {
87 "type": "action",
88 "line": 24,
89 "action": {
90 "type": "invoke",
91 "field": "drop_active",
92 "args": []
93 }
94 },
95 {
96 "type": "assert_return",
97 "line": 25,
98 "action": {
99 "type": "invoke",
100 "field": "init_active",
101 "args": [
102 {
103 "type": "i32",
104 "value": "0"
105 }
106 ]
107 },
108 "expected": []
109 },
110 {
111 "type": "assert_trap",
112 "line": 26,
113 "action": {
114 "type": "invoke",
115 "field": "init_active",
116 "args": [
117 {
118 "type": "i32",
119 "value": "1"
120 }
121 ]
122 },
123 "text": "out of bounds memory access"
124 },
125 {
126 "type": "action",
127 "line": 27,
128 "action": {
129 "type": "invoke",
130 "field": "init_active",
131 "args": [
132 {
133 "type": "i32",
134 "value": "0"
135 }
136 ]
137 }
138 }
139 ]
140 }