| 1 |
(module |
| 2 |
(type $sig (;0;) (func (param i32 i32 i32))) |
| 3 |
(type (;1;) (func)) |
| 4 |
(type (;2;) (func (result i32))) |
| 5 |
(type (;3;) (func (result i64))) |
| 6 |
(type (;4;) (func (result f32))) |
| 7 |
(type (;5;) (func (result f64))) |
| 8 |
(type (;6;) (func (param i32 i32) (result i32))) |
| 9 |
(table (;0;) 1 1 funcref) |
| 10 |
(memory (;0;) 1) |
| 11 |
(global $a (;0;) (mut f32) f32.const 0x0p+0 (;=0;)) |
| 12 |
(export "type-i32" (func 2)) |
| 13 |
(export "type-i64" (func 3)) |
| 14 |
(export "type-f32" (func 4)) |
| 15 |
(export "type-f64" (func 5)) |
| 16 |
(export "as-func-first" (func 6)) |
| 17 |
(export "as-func-mid" (func 7)) |
| 18 |
(export "as-func-last" (func 8)) |
| 19 |
(export "as-func-value" (func 9)) |
| 20 |
(export "as-block-first" (func 10)) |
| 21 |
(export "as-block-mid" (func 11)) |
| 22 |
(export "as-block-last" (func 12)) |
| 23 |
(export "as-block-value" (func 13)) |
| 24 |
(export "as-block-broke" (func 14)) |
| 25 |
(export "as-loop-first" (func 15)) |
| 26 |
(export "as-loop-mid" (func 16)) |
| 27 |
(export "as-loop-last" (func 17)) |
| 28 |
(export "as-loop-broke" (func 18)) |
| 29 |
(export "as-br-value" (func 19)) |
| 30 |
(export "as-br_if-cond" (func 20)) |
| 31 |
(export "as-br_if-value" (func 21)) |
| 32 |
(export "as-br_if-value-cond" (func 22)) |
| 33 |
(export "as-br_table-index" (func 23)) |
| 34 |
(export "as-br_table-value" (func 24)) |
| 35 |
(export "as-br_table-value-2" (func 25)) |
| 36 |
(export "as-br_table-value-index" (func 26)) |
| 37 |
(export "as-br_table-value-and-index" (func 27)) |
| 38 |
(export "as-return-value" (func 28)) |
| 39 |
(export "as-if-cond" (func 29)) |
| 40 |
(export "as-if-then" (func 30)) |
| 41 |
(export "as-if-else" (func 31)) |
| 42 |
(export "as-if-then-no-else" (func 32)) |
| 43 |
(export "as-select-first" (func 33)) |
| 44 |
(export "as-select-second" (func 34)) |
| 45 |
(export "as-select-cond" (func 35)) |
| 46 |
(export "as-call-first" (func 36)) |
| 47 |
(export "as-call-mid" (func 37)) |
| 48 |
(export "as-call-last" (func 38)) |
| 49 |
(export "as-call_indirect-func" (func 39)) |
| 50 |
(export "as-call_indirect-first" (func 40)) |
| 51 |
(export "as-call_indirect-mid" (func 41)) |
| 52 |
(export "as-call_indirect-last" (func 42)) |
| 53 |
(export "as-local.set-value" (func 43)) |
| 54 |
(export "as-local.tee-value" (func 44)) |
| 55 |
(export "as-global.set-value" (func 45)) |
| 56 |
(export "as-load-address" (func 46)) |
| 57 |
(export "as-loadN-address" (func 47)) |
| 58 |
(export "as-store-address" (func 48)) |
| 59 |
(export "as-store-value" (func 49)) |
| 60 |
(export "as-storeN-address" (func 50)) |
| 61 |
(export "as-storeN-value" (func 51)) |
| 62 |
(export "as-unary-operand" (func 52)) |
| 63 |
(export "as-binary-left" (func 53)) |
| 64 |
(export "as-binary-right" (func 54)) |
| 65 |
(export "as-test-operand" (func 55)) |
| 66 |
(export "as-compare-left" (func 56)) |
| 67 |
(export "as-compare-right" (func 57)) |
| 68 |
(export "as-convert-operand" (func 58)) |
| 69 |
(export "as-memory.grow-size" (func 59)) |
| 70 |
(elem (;0;) (table 0) (i32.const 0) func $dummy3) |
| 71 |
(func $dummy (;0;) (type 1)) |
| 72 |
(func $dummy3 (;1;) (type $sig) (param i32 i32 i32)) |
| 73 |
(func (;2;) (type 2) (result i32) |
| 74 |
unreachable |
| 75 |
) |
| 76 |
(func (;3;) (type 3) (result i64) |
| 77 |
unreachable |
| 78 |
) |
| 79 |
(func (;4;) (type 4) (result f32) |
| 80 |
unreachable |
| 81 |
) |
| 82 |
(func (;5;) (type 5) (result f64) |
| 83 |
unreachable |
| 84 |
) |
| 85 |
(func (;6;) (type 2) (result i32) |
| 86 |
unreachable |
| 87 |
i32.const -1 |
| 88 |
) |
| 89 |
(func (;7;) (type 2) (result i32) |
| 90 |
call $dummy |
| 91 |
unreachable |
| 92 |
i32.const -1 |
| 93 |
) |
| 94 |
(func (;8;) (type 1) |
| 95 |
call $dummy |
| 96 |
unreachable |
| 97 |
) |
| 98 |
(func (;9;) (type 2) (result i32) |
| 99 |
call $dummy |
| 100 |
unreachable |
| 101 |
) |
| 102 |
(func (;10;) (type 2) (result i32) |
| 103 |
block (result i32) ;; label = @1 |
| 104 |
unreachable |
| 105 |
i32.const 2 |
| 106 |
end |
| 107 |
) |
| 108 |
(func (;11;) (type 2) (result i32) |
| 109 |
block (result i32) ;; label = @1 |
| 110 |
call $dummy |
| 111 |
unreachable |
| 112 |
i32.const 2 |
| 113 |
end |
| 114 |
) |
| 115 |
(func (;12;) (type 1) |
| 116 |
block ;; label = @1 |
| 117 |
nop |
| 118 |
call $dummy |
| 119 |
unreachable |
| 120 |
end |
| 121 |
) |
| 122 |
(func (;13;) (type 2) (result i32) |
| 123 |
block (result i32) ;; label = @1 |
| 124 |
nop |
| 125 |
call $dummy |
| 126 |
unreachable |
| 127 |
end |
| 128 |
) |
| 129 |
(func (;14;) (type 2) (result i32) |
| 130 |
block (result i32) ;; label = @1 |
| 131 |
call $dummy |
| 132 |
i32.const 1 |
| 133 |
br 0 (;@1;) |
| 134 |
unreachable |
| 135 |
end |
| 136 |
) |
| 137 |
(func (;15;) (type 2) (result i32) |
| 138 |
loop (result i32) ;; label = @1 |
| 139 |
unreachable |
| 140 |
i32.const 2 |
| 141 |
end |
| 142 |
) |
| 143 |
(func (;16;) (type 2) (result i32) |
| 144 |
loop (result i32) ;; label = @1 |
| 145 |
call $dummy |
| 146 |
unreachable |
| 147 |
i32.const 2 |
| 148 |
end |
| 149 |
) |
| 150 |
(func (;17;) (type 1) |
| 151 |
loop ;; label = @1 |
| 152 |
nop |
| 153 |
call $dummy |
| 154 |
unreachable |
| 155 |
end |
| 156 |
) |
| 157 |
(func (;18;) (type 2) (result i32) |
| 158 |
block (result i32) ;; label = @1 |
| 159 |
loop (result i32) ;; label = @2 |
| 160 |
call $dummy |
| 161 |
i32.const 1 |
| 162 |
br 1 (;@1;) |
| 163 |
unreachable |
| 164 |
end |
| 165 |
end |
| 166 |
) |
| 167 |
(func (;19;) (type 2) (result i32) |
| 168 |
block (result i32) ;; label = @1 |
| 169 |
unreachable |
| 170 |
br 0 (;@1;) |
| 171 |
end |
| 172 |
) |
| 173 |
(func (;20;) (type 1) |
| 174 |
block ;; label = @1 |
| 175 |
unreachable |
| 176 |
br_if 0 (;@1;) |
| 177 |
end |
| 178 |
) |
| 179 |
(func (;21;) (type 2) (result i32) |
| 180 |
block (result i32) ;; label = @1 |
| 181 |
unreachable |
| 182 |
i32.const 1 |
| 183 |
br_if 0 (;@1;) |
| 184 |
drop |
| 185 |
i32.const 7 |
| 186 |
end |
| 187 |
) |
| 188 |
(func (;22;) (type 2) (result i32) |
| 189 |
block (result i32) ;; label = @1 |
| 190 |
i32.const 6 |
| 191 |
unreachable |
| 192 |
br_if 0 (;@1;) |
| 193 |
drop |
| 194 |
i32.const 7 |
| 195 |
end |
| 196 |
) |
| 197 |
(func (;23;) (type 1) |
| 198 |
block ;; label = @1 |
| 199 |
unreachable |
| 200 |
br_table 0 (;@1;) 0 (;@1;) 0 (;@1;) |
| 201 |
end |
| 202 |
) |
| 203 |
(func (;24;) (type 2) (result i32) |
| 204 |
block (result i32) ;; label = @1 |
| 205 |
unreachable |
| 206 |
i32.const 1 |
| 207 |
br_table 0 (;@1;) 0 (;@1;) 0 (;@1;) |
| 208 |
i32.const 7 |
| 209 |
end |
| 210 |
) |
| 211 |
(func (;25;) (type 2) (result i32) |
| 212 |
block (result i32) ;; label = @1 |
| 213 |
block (result i32) ;; label = @2 |
| 214 |
unreachable |
| 215 |
i32.const 1 |
| 216 |
br_table 0 (;@2;) 1 (;@1;) |
| 217 |
end |
| 218 |
end |
| 219 |
) |
| 220 |
(func (;26;) (type 2) (result i32) |
| 221 |
block (result i32) ;; label = @1 |
| 222 |
i32.const 6 |
| 223 |
unreachable |
| 224 |
br_table 0 (;@1;) 0 (;@1;) |
| 225 |
i32.const 7 |
| 226 |
end |
| 227 |
) |
| 228 |
(func (;27;) (type 2) (result i32) |
| 229 |
block (result i32) ;; label = @1 |
| 230 |
unreachable |
| 231 |
br_table 0 (;@1;) 0 (;@1;) |
| 232 |
i32.const 8 |
| 233 |
end |
| 234 |
) |
| 235 |
(func (;28;) (type 3) (result i64) |
| 236 |
unreachable |
| 237 |
return |
| 238 |
) |
| 239 |
(func (;29;) (type 2) (result i32) |
| 240 |
unreachable |
| 241 |
if (result i32) ;; label = @1 |
| 242 |
i32.const 0 |
| 243 |
else |
| 244 |
i32.const 1 |
| 245 |
end |
| 246 |
) |
| 247 |
(func (;30;) (type 6) (param i32 i32) (result i32) |
| 248 |
local.get 0 |
| 249 |
if (result i32) ;; label = @1 |
| 250 |
unreachable |
| 251 |
else |
| 252 |
local.get 1 |
| 253 |
end |
| 254 |
) |
| 255 |
(func (;31;) (type 6) (param i32 i32) (result i32) |
| 256 |
local.get 0 |
| 257 |
if (result i32) ;; label = @1 |
| 258 |
local.get 1 |
| 259 |
else |
| 260 |
unreachable |
| 261 |
end |
| 262 |
) |
| 263 |
(func (;32;) (type 6) (param i32 i32) (result i32) |
| 264 |
local.get 0 |
| 265 |
if ;; label = @1 |
| 266 |
unreachable |
| 267 |
end |
| 268 |
local.get 1 |
| 269 |
) |
| 270 |
(func (;33;) (type 6) (param i32 i32) (result i32) |
| 271 |
unreachable |
| 272 |
local.get 0 |
| 273 |
local.get 1 |
| 274 |
select |
| 275 |
) |
| 276 |
(func (;34;) (type 6) (param i32 i32) (result i32) |
| 277 |
local.get 0 |
| 278 |
unreachable |
| 279 |
local.get 1 |
| 280 |
select |
| 281 |
) |
| 282 |
(func (;35;) (type 2) (result i32) |
| 283 |
i32.const 0 |
| 284 |
i32.const 1 |
| 285 |
unreachable |
| 286 |
select |
| 287 |
) |
| 288 |
(func (;36;) (type 1) |
| 289 |
unreachable |
| 290 |
i32.const 2 |
| 291 |
i32.const 3 |
| 292 |
call $dummy3 |
| 293 |
) |
| 294 |
(func (;37;) (type 1) |
| 295 |
i32.const 1 |
| 296 |
unreachable |
| 297 |
i32.const 3 |
| 298 |
call $dummy3 |
| 299 |
) |
| 300 |
(func (;38;) (type 1) |
| 301 |
i32.const 1 |
| 302 |
i32.const 2 |
| 303 |
unreachable |
| 304 |
call $dummy3 |
| 305 |
) |
| 306 |
(func (;39;) (type 1) |
| 307 |
unreachable |
| 308 |
i32.const 1 |
| 309 |
i32.const 2 |
| 310 |
i32.const 3 |
| 311 |
call_indirect (type $sig) |
| 312 |
) |
| 313 |
(func (;40;) (type 1) |
| 314 |
i32.const 0 |
| 315 |
unreachable |
| 316 |
i32.const 2 |
| 317 |
i32.const 3 |
| 318 |
call_indirect (type $sig) |
| 319 |
) |
| 320 |
(func (;41;) (type 1) |
| 321 |
i32.const 0 |
| 322 |
i32.const 1 |
| 323 |
unreachable |
| 324 |
i32.const 3 |
| 325 |
call_indirect (type $sig) |
| 326 |
) |
| 327 |
(func (;42;) (type 1) |
| 328 |
i32.const 0 |
| 329 |
i32.const 1 |
| 330 |
i32.const 2 |
| 331 |
unreachable |
| 332 |
call_indirect (type $sig) |
| 333 |
) |
| 334 |
(func (;43;) (type 1) |
| 335 |
(local f32) |
| 336 |
unreachable |
| 337 |
local.set 0 |
| 338 |
) |
| 339 |
(func (;44;) (type 4) (result f32) |
| 340 |
(local f32) |
| 341 |
unreachable |
| 342 |
local.tee 0 |
| 343 |
) |
| 344 |
(func (;45;) (type 4) (result f32) |
| 345 |
unreachable |
| 346 |
global.set $a |
| 347 |
) |
| 348 |
(func (;46;) (type 4) (result f32) |
| 349 |
unreachable |
| 350 |
f32.load |
| 351 |
) |
| 352 |
(func (;47;) (type 3) (result i64) |
| 353 |
unreachable |
| 354 |
i64.load8_s |
| 355 |
) |
| 356 |
(func (;48;) (type 1) |
| 357 |
unreachable |
| 358 |
f64.const 0x1.cp+2 (;=7;) |
| 359 |
f64.store |
| 360 |
) |
| 361 |
(func (;49;) (type 1) |
| 362 |
i32.const 2 |
| 363 |
unreachable |
| 364 |
i64.store |
| 365 |
) |
| 366 |
(func (;50;) (type 1) |
| 367 |
unreachable |
| 368 |
i32.const 7 |
| 369 |
i32.store8 |
| 370 |
) |
| 371 |
(func (;51;) (type 1) |
| 372 |
i32.const 2 |
| 373 |
unreachable |
| 374 |
i64.store16 |
| 375 |
) |
| 376 |
(func (;52;) (type 4) (result f32) |
| 377 |
unreachable |
| 378 |
f32.neg |
| 379 |
) |
| 380 |
(func (;53;) (type 2) (result i32) |
| 381 |
unreachable |
| 382 |
i32.const 10 |
| 383 |
i32.add |
| 384 |
) |
| 385 |
(func (;54;) (type 3) (result i64) |
| 386 |
i64.const 10 |
| 387 |
unreachable |
| 388 |
i64.sub |
| 389 |
) |
| 390 |
(func (;55;) (type 2) (result i32) |
| 391 |
unreachable |
| 392 |
i32.eqz |
| 393 |
) |
| 394 |
(func (;56;) (type 2) (result i32) |
| 395 |
unreachable |
| 396 |
f64.const 0x1.4p+3 (;=10;) |
| 397 |
f64.le |
| 398 |
) |
| 399 |
(func (;57;) (type 2) (result i32) |
| 400 |
f32.const 0x1.4p+3 (;=10;) |
| 401 |
unreachable |
| 402 |
f32.ne |
| 403 |
) |
| 404 |
(func (;58;) (type 2) (result i32) |
| 405 |
unreachable |
| 406 |
i32.wrap_i64 |
| 407 |
) |
| 408 |
(func (;59;) (type 2) (result i32) |
| 409 |
unreachable |
| 410 |
memory.grow |
| 411 |
) |
| 412 |
) |