| 1 |
{"source_filename": "./loop.wast", |
| 2 |
"commands": [ |
| 3 |
{"type": "module", "line": 3, "filename": "loop.0.wasm"}, |
| 4 |
{"type": "assert_return", "line": 430, "action": {"type": "invoke", "field": "empty", "args": []}, "expected": []}, |
| 5 |
{"type": "assert_return", "line": 431, "action": {"type": "invoke", "field": "singular", "args": []}, "expected": [{"type": "i32", "value": "7"}]}, |
| 6 |
{"type": "assert_return", "line": 432, "action": {"type": "invoke", "field": "multi", "args": []}, "expected": [{"type": "i32", "value": "8"}]}, |
| 7 |
{"type": "assert_return", "line": 433, "action": {"type": "invoke", "field": "nested", "args": []}, "expected": [{"type": "i32", "value": "9"}]}, |
| 8 |
{"type": "assert_return", "line": 434, "action": {"type": "invoke", "field": "deep", "args": []}, "expected": [{"type": "i32", "value": "150"}]}, |
| 9 |
{"type": "assert_return", "line": 436, "action": {"type": "invoke", "field": "as-select-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 10 |
{"type": "assert_return", "line": 437, "action": {"type": "invoke", "field": "as-select-mid", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, |
| 11 |
{"type": "assert_return", "line": 438, "action": {"type": "invoke", "field": "as-select-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, |
| 12 |
{"type": "assert_return", "line": 440, "action": {"type": "invoke", "field": "as-if-condition", "args": []}, "expected": []}, |
| 13 |
{"type": "assert_return", "line": 441, "action": {"type": "invoke", "field": "as-if-then", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 14 |
{"type": "assert_return", "line": 442, "action": {"type": "invoke", "field": "as-if-else", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, |
| 15 |
{"type": "assert_return", "line": 444, "action": {"type": "invoke", "field": "as-br_if-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 16 |
{"type": "assert_return", "line": 445, "action": {"type": "invoke", "field": "as-br_if-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, |
| 17 |
{"type": "assert_return", "line": 447, "action": {"type": "invoke", "field": "as-br_table-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 18 |
{"type": "assert_return", "line": 448, "action": {"type": "invoke", "field": "as-br_table-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, |
| 19 |
{"type": "assert_return", "line": 450, "action": {"type": "invoke", "field": "as-call_indirect-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 20 |
{"type": "assert_return", "line": 451, "action": {"type": "invoke", "field": "as-call_indirect-mid", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, |
| 21 |
{"type": "assert_return", "line": 452, "action": {"type": "invoke", "field": "as-call_indirect-last", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 22 |
{"type": "assert_return", "line": 454, "action": {"type": "invoke", "field": "as-store-first", "args": []}, "expected": []}, |
| 23 |
{"type": "assert_return", "line": 455, "action": {"type": "invoke", "field": "as-store-last", "args": []}, "expected": []}, |
| 24 |
{"type": "assert_return", "line": 457, "action": {"type": "invoke", "field": "as-memory.grow-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 25 |
{"type": "assert_return", "line": 458, "action": {"type": "invoke", "field": "as-call-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 26 |
{"type": "assert_return", "line": 459, "action": {"type": "invoke", "field": "as-return-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 27 |
{"type": "assert_return", "line": 460, "action": {"type": "invoke", "field": "as-drop-operand", "args": []}, "expected": []}, |
| 28 |
{"type": "assert_return", "line": 461, "action": {"type": "invoke", "field": "as-br-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 29 |
{"type": "assert_return", "line": 462, "action": {"type": "invoke", "field": "as-local.set-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 30 |
{"type": "assert_return", "line": 463, "action": {"type": "invoke", "field": "as-local.tee-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 31 |
{"type": "assert_return", "line": 464, "action": {"type": "invoke", "field": "as-global.set-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 32 |
{"type": "assert_return", "line": 465, "action": {"type": "invoke", "field": "as-load-operand", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 33 |
{"type": "assert_return", "line": 467, "action": {"type": "invoke", "field": "as-unary-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, |
| 34 |
{"type": "assert_return", "line": 468, "action": {"type": "invoke", "field": "as-binary-operand", "args": []}, "expected": [{"type": "i32", "value": "12"}]}, |
| 35 |
{"type": "assert_return", "line": 469, "action": {"type": "invoke", "field": "as-test-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, |
| 36 |
{"type": "assert_return", "line": 470, "action": {"type": "invoke", "field": "as-compare-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, |
| 37 |
{"type": "assert_return", "line": 471, "action": {"type": "invoke", "field": "as-binary-operands", "args": []}, "expected": [{"type": "i32", "value": "12"}]}, |
| 38 |
{"type": "assert_return", "line": 472, "action": {"type": "invoke", "field": "as-compare-operands", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, |
| 39 |
{"type": "assert_return", "line": 473, "action": {"type": "invoke", "field": "as-mixed-operands", "args": []}, "expected": [{"type": "i32", "value": "27"}]}, |
| 40 |
{"type": "assert_return", "line": 475, "action": {"type": "invoke", "field": "break-bare", "args": []}, "expected": [{"type": "i32", "value": "19"}]}, |
| 41 |
{"type": "assert_return", "line": 476, "action": {"type": "invoke", "field": "break-value", "args": []}, "expected": [{"type": "i32", "value": "18"}]}, |
| 42 |
{"type": "assert_return", "line": 477, "action": {"type": "invoke", "field": "break-multi-value", "args": []}, "expected": [{"type": "i32", "value": "18"}, {"type": "i32", "value": "4294967278"}, {"type": "i64", "value": "18"}]}, |
| 43 |
{"type": "assert_return", "line": 480, "action": {"type": "invoke", "field": "break-repeated", "args": []}, "expected": [{"type": "i32", "value": "18"}]}, |
| 44 |
{"type": "assert_return", "line": 481, "action": {"type": "invoke", "field": "break-inner", "args": []}, "expected": [{"type": "i32", "value": "31"}]}, |
| 45 |
{"type": "assert_return", "line": 483, "action": {"type": "invoke", "field": "param", "args": []}, "expected": [{"type": "i32", "value": "3"}]}, |
| 46 |
{"type": "assert_return", "line": 484, "action": {"type": "invoke", "field": "params", "args": []}, "expected": [{"type": "i32", "value": "3"}]}, |
| 47 |
{"type": "assert_return", "line": 485, "action": {"type": "invoke", "field": "params-id", "args": []}, "expected": [{"type": "i32", "value": "3"}]}, |
| 48 |
{"type": "assert_return", "line": 486, "action": {"type": "invoke", "field": "param-break", "args": []}, "expected": [{"type": "i32", "value": "13"}]}, |
| 49 |
{"type": "assert_return", "line": 487, "action": {"type": "invoke", "field": "params-break", "args": []}, "expected": [{"type": "i32", "value": "12"}]}, |
| 50 |
{"type": "assert_return", "line": 488, "action": {"type": "invoke", "field": "params-id-break", "args": []}, "expected": [{"type": "i32", "value": "3"}]}, |
| 51 |
{"type": "assert_return", "line": 490, "action": {"type": "invoke", "field": "effects", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, |
| 52 |
{"type": "assert_return", "line": 492, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "0"}]}, "expected": [{"type": "i64", "value": "1"}]}, |
| 53 |
{"type": "assert_return", "line": 493, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "1"}]}, "expected": [{"type": "i64", "value": "1"}]}, |
| 54 |
{"type": "assert_return", "line": 494, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "2"}]}, "expected": [{"type": "i64", "value": "2"}]}, |
| 55 |
{"type": "assert_return", "line": 495, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "3"}]}, "expected": [{"type": "i64", "value": "6"}]}, |
| 56 |
{"type": "assert_return", "line": 496, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "120"}]}, |
| 57 |
{"type": "assert_return", "line": 497, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "20"}]}, "expected": [{"type": "i64", "value": "2432902008176640000"}]}, |
| 58 |
{"type": "assert_return", "line": 499, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "0"}]}, "expected": [{"type": "i64", "value": "1"}]}, |
| 59 |
{"type": "assert_return", "line": 500, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "1"}]}, "expected": [{"type": "i64", "value": "1"}]}, |
| 60 |
{"type": "assert_return", "line": 501, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "2"}]}, "expected": [{"type": "i64", "value": "2"}]}, |
| 61 |
{"type": "assert_return", "line": 502, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "3"}]}, "expected": [{"type": "i64", "value": "6"}]}, |
| 62 |
{"type": "assert_return", "line": 503, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "120"}]}, |
| 63 |
{"type": "assert_return", "line": 504, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "20"}]}, "expected": [{"type": "i64", "value": "2432902008176640000"}]}, |
| 64 |
{"type": "assert_return", "line": 506, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "0"}, {"type": "f32", "value": "1088421888"}]}, "expected": [{"type": "f32", "value": "0"}]}, |
| 65 |
{"type": "assert_return", "line": 507, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "0"}]}, "expected": [{"type": "f32", "value": "0"}]}, |
| 66 |
{"type": "assert_return", "line": 508, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, |
| 67 |
{"type": "assert_return", "line": 509, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1073741824"}]}, "expected": [{"type": "f32", "value": "1073741824"}]}, |
| 68 |
{"type": "assert_return", "line": 510, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1077936128"}]}, "expected": [{"type": "f32", "value": "1082130432"}]}, |
| 69 |
{"type": "assert_return", "line": 511, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1082130432"}]}, "expected": [{"type": "f32", "value": "1086324736"}]}, |
| 70 |
{"type": "assert_return", "line": 512, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1120403456"}]}, "expected": [{"type": "f32", "value": "1159684096"}]}, |
| 71 |
{"type": "assert_return", "line": 513, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1120534528"}]}, "expected": [{"type": "f32", "value": "1159892992"}]}, |
| 72 |
{"type": "assert_return", "line": 514, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, |
| 73 |
{"type": "assert_return", "line": 515, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1077936128"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, |
| 74 |
{"type": "assert_return", "line": 516, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1092616192"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, |
| 75 |
{"type": "assert_return", "line": 517, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "1073741824"}]}, "expected": [{"type": "f32", "value": "1077936128"}]}, |
| 76 |
{"type": "assert_return", "line": 518, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "1077936128"}]}, "expected": [{"type": "f32", "value": "1082130432"}]}, |
| 77 |
{"type": "assert_return", "line": 519, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "1082130432"}]}, "expected": [{"type": "f32", "value": "1092940751"}]}, |
| 78 |
{"type": "assert_return", "line": 520, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "1120403456"}]}, "expected": [{"type": "f32", "value": "1166601314"}]}, |
| 79 |
{"type": "assert_return", "line": 521, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "1120534528"}]}, "expected": [{"type": "f32", "value": "1159892992"}]}, |
| 80 |
{"type": "assert_return", "line": 523, "action": {"type": "invoke", "field": "type-use", "args": []}, "expected": []}, |
| 81 |
{"type": "assert_malformed", "line": 526, "filename": "loop.1.wat", "text": "unexpected token", "module_type": "text"}, |
| 82 |
{"type": "assert_malformed", "line": 533, "filename": "loop.2.wat", "text": "unexpected token", "module_type": "text"}, |
| 83 |
{"type": "assert_malformed", "line": 540, "filename": "loop.3.wat", "text": "unexpected token", "module_type": "text"}, |
| 84 |
{"type": "assert_malformed", "line": 547, "filename": "loop.4.wat", "text": "unexpected token", "module_type": "text"}, |
| 85 |
{"type": "assert_malformed", "line": 554, "filename": "loop.5.wat", "text": "unexpected token", "module_type": "text"}, |
| 86 |
{"type": "assert_malformed", "line": 561, "filename": "loop.6.wat", "text": "unexpected token", "module_type": "text"}, |
| 87 |
{"type": "assert_malformed", "line": 568, "filename": "loop.7.wat", "text": "unexpected token", "module_type": "text"}, |
| 88 |
{"type": "assert_malformed", "line": 572, "filename": "loop.8.wat", "text": "inline function type", "module_type": "text"}, |
| 89 |
{"type": "assert_malformed", "line": 579, "filename": "loop.9.wat", "text": "inline function type", "module_type": "text"}, |
| 90 |
{"type": "assert_malformed", "line": 586, "filename": "loop.10.wat", "text": "inline function type", "module_type": "text"}, |
| 91 |
{"type": "assert_malformed", "line": 593, "filename": "loop.11.wat", "text": "inline function type", "module_type": "text"}, |
| 92 |
{"type": "assert_invalid", "line": 601, "filename": "loop.12.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 93 |
{"type": "assert_invalid", "line": 609, "filename": "loop.13.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 94 |
{"type": "assert_invalid", "line": 613, "filename": "loop.14.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 95 |
{"type": "assert_invalid", "line": 617, "filename": "loop.15.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 96 |
{"type": "assert_invalid", "line": 621, "filename": "loop.16.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 97 |
{"type": "assert_invalid", "line": 626, "filename": "loop.17.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 98 |
{"type": "assert_invalid", "line": 632, "filename": "loop.18.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 99 |
{"type": "assert_invalid", "line": 638, "filename": "loop.19.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 100 |
{"type": "assert_invalid", "line": 644, "filename": "loop.20.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 101 |
{"type": "assert_invalid", "line": 650, "filename": "loop.21.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 102 |
{"type": "assert_invalid", "line": 656, "filename": "loop.22.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 103 |
{"type": "assert_invalid", "line": 662, "filename": "loop.23.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 104 |
{"type": "assert_invalid", "line": 668, "filename": "loop.24.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 105 |
{"type": "assert_invalid", "line": 674, "filename": "loop.25.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 106 |
{"type": "assert_invalid", "line": 680, "filename": "loop.26.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 107 |
{"type": "assert_invalid", "line": 686, "filename": "loop.27.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 108 |
{"type": "assert_invalid", "line": 693, "filename": "loop.28.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 109 |
{"type": "assert_invalid", "line": 702, "filename": "loop.29.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 110 |
{"type": "assert_invalid", "line": 711, "filename": "loop.30.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 111 |
{"type": "assert_invalid", "line": 721, "filename": "loop.31.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 112 |
{"type": "assert_invalid", "line": 727, "filename": "loop.32.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 113 |
{"type": "assert_invalid", "line": 733, "filename": "loop.33.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 114 |
{"type": "assert_invalid", "line": 739, "filename": "loop.34.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 115 |
{"type": "assert_invalid", "line": 745, "filename": "loop.35.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 116 |
{"type": "assert_invalid", "line": 751, "filename": "loop.36.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 117 |
{"type": "assert_invalid", "line": 757, "filename": "loop.37.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 118 |
{"type": "assert_invalid", "line": 763, "filename": "loop.38.wasm", "text": "type mismatch", "module_type": "binary"}, |
| 119 |
{"type": "assert_malformed", "line": 770, "filename": "loop.39.wat", "text": "unexpected token", "module_type": "text"}, |
| 120 |
{"type": "assert_malformed", "line": 774, "filename": "loop.40.wat", "text": "unexpected token", "module_type": "text"}, |
| 121 |
{"type": "assert_malformed", "line": 779, "filename": "loop.41.wat", "text": "mismatching label", "module_type": "text"}, |
| 122 |
{"type": "assert_malformed", "line": 783, "filename": "loop.42.wat", "text": "mismatching label", "module_type": "text"}]} |