{ "source_filename": "tests/testsuite/proposals/wasm-3.0/load2.wast", "commands": [ { "type": "module", "line": 1, "filename": "load2.0.wasm", "module_type": "binary" }, { "type": "assert_return", "line": 162, "action": { "type": "invoke", "field": "as-br-value", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 164, "action": { "type": "invoke", "field": "as-br_if-cond", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 165, "action": { "type": "invoke", "field": "as-br_if-value", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 166, "action": { "type": "invoke", "field": "as-br_if-value-cond", "args": [] }, "expected": [ { "type": "i32", "value": "7" } ] }, { "type": "assert_return", "line": 168, "action": { "type": "invoke", "field": "as-br_table-index", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 169, "action": { "type": "invoke", "field": "as-br_table-value", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 170, "action": { "type": "invoke", "field": "as-br_table-value-index", "args": [] }, "expected": [ { "type": "i32", "value": "6" } ] }, { "type": "assert_return", "line": 172, "action": { "type": "invoke", "field": "as-return-value", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 174, "action": { "type": "invoke", "field": "as-if-cond", "args": [] }, "expected": [ { "type": "i32", "value": "1" } ] }, { "type": "assert_return", "line": 175, "action": { "type": "invoke", "field": "as-if-then", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 176, "action": { "type": "invoke", "field": "as-if-else", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 178, "action": { "type": "invoke", "field": "as-select-first", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "1" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 179, "action": { "type": "invoke", "field": "as-select-second", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 180, "action": { "type": "invoke", "field": "as-select-cond", "args": [] }, "expected": [ { "type": "i32", "value": "1" } ] }, { "type": "assert_return", "line": 182, "action": { "type": "invoke", "field": "as-call-first", "args": [] }, "expected": [ { "type": "i32", "value": "-1" } ] }, { "type": "assert_return", "line": 183, "action": { "type": "invoke", "field": "as-call-mid", "args": [] }, "expected": [ { "type": "i32", "value": "-1" } ] }, { "type": "assert_return", "line": 184, "action": { "type": "invoke", "field": "as-call-last", "args": [] }, "expected": [ { "type": "i32", "value": "-1" } ] }, { "type": "assert_return", "line": 186, "action": { "type": "invoke", "field": "as-call_indirect-first", "args": [] }, "expected": [ { "type": "i32", "value": "-1" } ] }, { "type": "assert_return", "line": 187, "action": { "type": "invoke", "field": "as-call_indirect-mid", "args": [] }, "expected": [ { "type": "i32", "value": "-1" } ] }, { "type": "assert_return", "line": 188, "action": { "type": "invoke", "field": "as-call_indirect-last", "args": [] }, "expected": [ { "type": "i32", "value": "-1" } ] }, { "type": "assert_return", "line": 189, "action": { "type": "invoke", "field": "as-call_indirect-index", "args": [] }, "expected": [ { "type": "i32", "value": "-1" } ] }, { "type": "assert_return", "line": 191, "action": { "type": "invoke", "field": "as-local.set-value", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 192, "action": { "type": "invoke", "field": "as-local.tee-value", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 193, "action": { "type": "invoke", "field": "as-global.set-value", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 195, "action": { "type": "invoke", "field": "as-load-address", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 196, "action": { "type": "invoke", "field": "as-loadN-address", "args": [] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 197, "action": { "type": "invoke", "field": "as-store-address", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 198, "action": { "type": "invoke", "field": "as-store-value", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 199, "action": { "type": "invoke", "field": "as-storeN-address", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 200, "action": { "type": "invoke", "field": "as-storeN-value", "args": [] }, "expected": [] }, { "type": "assert_return", "line": 202, "action": { "type": "invoke", "field": "as-unary-operand", "args": [] }, "expected": [ { "type": "i32", "value": "32" } ] }, { "type": "assert_return", "line": 204, "action": { "type": "invoke", "field": "as-binary-left", "args": [] }, "expected": [ { "type": "i32", "value": "10" } ] }, { "type": "assert_return", "line": 205, "action": { "type": "invoke", "field": "as-binary-right", "args": [] }, "expected": [ { "type": "i32", "value": "10" } ] }, { "type": "assert_return", "line": 207, "action": { "type": "invoke", "field": "as-test-operand", "args": [] }, "expected": [ { "type": "i32", "value": "1" } ] }, { "type": "assert_return", "line": 209, "action": { "type": "invoke", "field": "as-compare-left", "args": [] }, "expected": [ { "type": "i32", "value": "1" } ] }, { "type": "assert_return", "line": 210, "action": { "type": "invoke", "field": "as-compare-right", "args": [] }, "expected": [ { "type": "i32", "value": "1" } ] }, { "type": "assert_return", "line": 212, "action": { "type": "invoke", "field": "as-memory.grow-size", "args": [] }, "expected": [ { "type": "i32", "value": "1" } ] } ] }