github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/internal/integration_test/spectest/v2/testdata/select.json (about) 1 {"source_filename": "./select.wast", 2 "commands": [ 3 {"type": "module", "line": 1, "filename": "select.0.wasm"}, 4 {"type": "assert_return", "line": 183, "action": {"type": "invoke", "field": "select-i32", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "2"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 5 {"type": "assert_return", "line": 184, "action": {"type": "invoke", "field": "select-i64", "args": [{"type": "i64", "value": "2"}, {"type": "i64", "value": "1"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "2"}]}, 6 {"type": "assert_return", "line": 185, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1073741824"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 7 {"type": "assert_return", "line": 186, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "4607182418800017408"}, {"type": "f64", "value": "4611686018427387904"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 8 {"type": "assert_return", "line": 188, "action": {"type": "invoke", "field": "select-i32", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "2"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 9 {"type": "assert_return", "line": 189, "action": {"type": "invoke", "field": "select-i32", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "1"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 10 {"type": "assert_return", "line": 190, "action": {"type": "invoke", "field": "select-i64", "args": [{"type": "i64", "value": "2"}, {"type": "i64", "value": "1"}, {"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i64", "value": "2"}]}, 11 {"type": "assert_return", "line": 191, "action": {"type": "invoke", "field": "select-i64", "args": [{"type": "i64", "value": "2"}, {"type": "i64", "value": "1"}, {"type": "i32", "value": "4042322160"}]}, "expected": [{"type": "i64", "value": "2"}]}, 12 {"type": "assert_return", "line": 193, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "2143289344"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "2143289344"}]}, 13 {"type": "assert_return", "line": 194, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "2139226884"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "2139226884"}]}, 14 {"type": "assert_return", "line": 195, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "2143289344"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 15 {"type": "assert_return", "line": 196, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "2139226884"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 16 {"type": "assert_return", "line": 197, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2143289344"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "1073741824"}]}, 17 {"type": "assert_return", "line": 198, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2139226884"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "1073741824"}]}, 18 {"type": "assert_return", "line": 199, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2143289344"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "2143289344"}]}, 19 {"type": "assert_return", "line": 200, "action": {"type": "invoke", "field": "select-f32", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2139226884"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "2139226884"}]}, 20 {"type": "assert_return", "line": 202, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "9221120237041090560"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "9221120237041090560"}]}, 21 {"type": "assert_return", "line": 203, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "9218868437227537156"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "9218868437227537156"}]}, 22 {"type": "assert_return", "line": 204, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "9221120237041090560"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 23 {"type": "assert_return", "line": 205, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "9218868437227537156"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 24 {"type": "assert_return", "line": 206, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9221120237041090560"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "4611686018427387904"}]}, 25 {"type": "assert_return", "line": 207, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9218868437227537156"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "4611686018427387904"}]}, 26 {"type": "assert_return", "line": 208, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9221120237041090560"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "9221120237041090560"}]}, 27 {"type": "assert_return", "line": 209, "action": {"type": "invoke", "field": "select-f64", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9218868437227537156"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "9218868437227537156"}]}, 28 {"type": "assert_return", "line": 211, "action": {"type": "invoke", "field": "select-i32-t", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "2"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 29 {"type": "assert_return", "line": 212, "action": {"type": "invoke", "field": "select-i64-t", "args": [{"type": "i64", "value": "2"}, {"type": "i64", "value": "1"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "2"}]}, 30 {"type": "assert_return", "line": 213, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1073741824"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 31 {"type": "assert_return", "line": 214, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "4607182418800017408"}, {"type": "f64", "value": "4611686018427387904"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 32 {"type": "assert_return", "line": 215, "action": {"type": "invoke", "field": "select-funcref", "args": [{"type": "funcref", "value": "null"}, {"type": "funcref", "value": "null"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "funcref", "value": "null"}]}, 33 {"type": "assert_return", "line": 216, "action": {"type": "invoke", "field": "select-externref", "args": [{"type": "externref", "value": "1"}, {"type": "externref", "value": "2"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "externref", "value": "1"}]}, 34 {"type": "assert_return", "line": 218, "action": {"type": "invoke", "field": "select-i32-t", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "2"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 35 {"type": "assert_return", "line": 219, "action": {"type": "invoke", "field": "select-i32-t", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "1"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 36 {"type": "assert_return", "line": 220, "action": {"type": "invoke", "field": "select-i64-t", "args": [{"type": "i64", "value": "2"}, {"type": "i64", "value": "1"}, {"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i64", "value": "2"}]}, 37 {"type": "assert_return", "line": 221, "action": {"type": "invoke", "field": "select-i64-t", "args": [{"type": "i64", "value": "2"}, {"type": "i64", "value": "1"}, {"type": "i32", "value": "4042322160"}]}, "expected": [{"type": "i64", "value": "2"}]}, 38 {"type": "assert_return", "line": 222, "action": {"type": "invoke", "field": "select-externref", "args": [{"type": "externref", "value": "1"}, {"type": "externref", "value": "2"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "externref", "value": "2"}]}, 39 {"type": "assert_return", "line": 223, "action": {"type": "invoke", "field": "select-externref", "args": [{"type": "externref", "value": "2"}, {"type": "externref", "value": "1"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "externref", "value": "1"}]}, 40 {"type": "assert_return", "line": 225, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "2143289344"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "2143289344"}]}, 41 {"type": "assert_return", "line": 226, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "2139226884"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "2139226884"}]}, 42 {"type": "assert_return", "line": 227, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "2143289344"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 43 {"type": "assert_return", "line": 228, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "2139226884"}, {"type": "f32", "value": "1065353216"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 44 {"type": "assert_return", "line": 229, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2143289344"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "1073741824"}]}, 45 {"type": "assert_return", "line": 230, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2139226884"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "1073741824"}]}, 46 {"type": "assert_return", "line": 231, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2143289344"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "2143289344"}]}, 47 {"type": "assert_return", "line": 232, "action": {"type": "invoke", "field": "select-f32-t", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "2139226884"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "2139226884"}]}, 48 {"type": "assert_return", "line": 234, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "9221120237041090560"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "9221120237041090560"}]}, 49 {"type": "assert_return", "line": 235, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "9218868437227537156"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "9218868437227537156"}]}, 50 {"type": "assert_return", "line": 236, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "9221120237041090560"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 51 {"type": "assert_return", "line": 237, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "9218868437227537156"}, {"type": "f64", "value": "4607182418800017408"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 52 {"type": "assert_return", "line": 238, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9221120237041090560"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "4611686018427387904"}]}, 53 {"type": "assert_return", "line": 239, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9218868437227537156"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "4611686018427387904"}]}, 54 {"type": "assert_return", "line": 240, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9221120237041090560"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "9221120237041090560"}]}, 55 {"type": "assert_return", "line": 241, "action": {"type": "invoke", "field": "select-f64-t", "args": [{"type": "f64", "value": "4611686018427387904"}, {"type": "f64", "value": "9218868437227537156"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "9218868437227537156"}]}, 56 {"type": "assert_return", "line": 243, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 57 {"type": "assert_return", "line": 244, "action": {"type": "invoke", "field": "as-select-first", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "0"}]}, 58 {"type": "assert_return", "line": 245, "action": {"type": "invoke", "field": "as-select-mid", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 59 {"type": "assert_return", "line": 246, "action": {"type": "invoke", "field": "as-select-mid", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 60 {"type": "assert_return", "line": 247, "action": {"type": "invoke", "field": "as-select-last", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 61 {"type": "assert_return", "line": 248, "action": {"type": "invoke", "field": "as-select-last", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "3"}]}, 62 {"type": "assert_return", "line": 250, "action": {"type": "invoke", "field": "as-loop-first", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 63 {"type": "assert_return", "line": 251, "action": {"type": "invoke", "field": "as-loop-first", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 64 {"type": "assert_return", "line": 252, "action": {"type": "invoke", "field": "as-loop-mid", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 65 {"type": "assert_return", "line": 253, "action": {"type": "invoke", "field": "as-loop-mid", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 66 {"type": "assert_return", "line": 254, "action": {"type": "invoke", "field": "as-loop-last", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 67 {"type": "assert_return", "line": 255, "action": {"type": "invoke", "field": "as-loop-last", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 68 {"type": "assert_return", "line": 257, "action": {"type": "invoke", "field": "as-if-condition", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 69 {"type": "assert_return", "line": 258, "action": {"type": "invoke", "field": "as-if-condition", "args": [{"type": "i32", "value": "1"}]}, "expected": []}, 70 {"type": "assert_return", "line": 259, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 71 {"type": "assert_return", "line": 260, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 72 {"type": "assert_return", "line": 261, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 73 {"type": "assert_return", "line": 262, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 74 {"type": "assert_return", "line": 264, "action": {"type": "invoke", "field": "as-br_if-first", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 75 {"type": "assert_return", "line": 265, "action": {"type": "invoke", "field": "as-br_if-first", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 76 {"type": "assert_return", "line": 266, "action": {"type": "invoke", "field": "as-br_if-last", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 77 {"type": "assert_return", "line": 267, "action": {"type": "invoke", "field": "as-br_if-last", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 78 {"type": "assert_return", "line": 269, "action": {"type": "invoke", "field": "as-br_table-first", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 79 {"type": "assert_return", "line": 270, "action": {"type": "invoke", "field": "as-br_table-first", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 80 {"type": "assert_return", "line": 271, "action": {"type": "invoke", "field": "as-br_table-last", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 81 {"type": "assert_return", "line": 272, "action": {"type": "invoke", "field": "as-br_table-last", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 82 {"type": "assert_return", "line": 274, "action": {"type": "invoke", "field": "as-call_indirect-first", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "3"}]}, 83 {"type": "assert_return", "line": 275, "action": {"type": "invoke", "field": "as-call_indirect-first", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "2"}]}, 84 {"type": "assert_return", "line": 276, "action": {"type": "invoke", "field": "as-call_indirect-mid", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 85 {"type": "assert_return", "line": 277, "action": {"type": "invoke", "field": "as-call_indirect-mid", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 86 {"type": "assert_trap", "line": 278, "action": {"type": "invoke", "field": "as-call_indirect-last", "args": [{"type": "i32", "value": "0"}]}, "text": "undefined element", "expected": [{"type": "i32"}]}, 87 {"type": "assert_trap", "line": 279, "action": {"type": "invoke", "field": "as-call_indirect-last", "args": [{"type": "i32", "value": "1"}]}, "text": "undefined element", "expected": [{"type": "i32"}]}, 88 {"type": "assert_return", "line": 281, "action": {"type": "invoke", "field": "as-store-first", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 89 {"type": "assert_return", "line": 282, "action": {"type": "invoke", "field": "as-store-first", "args": [{"type": "i32", "value": "1"}]}, "expected": []}, 90 {"type": "assert_return", "line": 283, "action": {"type": "invoke", "field": "as-store-last", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 91 {"type": "assert_return", "line": 284, "action": {"type": "invoke", "field": "as-store-last", "args": [{"type": "i32", "value": "1"}]}, "expected": []}, 92 {"type": "assert_return", "line": 286, "action": {"type": "invoke", "field": "as-memory.grow-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 93 {"type": "assert_return", "line": 287, "action": {"type": "invoke", "field": "as-memory.grow-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "3"}]}, 94 {"type": "assert_return", "line": 289, "action": {"type": "invoke", "field": "as-call-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 95 {"type": "assert_return", "line": 290, "action": {"type": "invoke", "field": "as-call-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 96 {"type": "assert_return", "line": 291, "action": {"type": "invoke", "field": "as-return-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 97 {"type": "assert_return", "line": 292, "action": {"type": "invoke", "field": "as-return-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 98 {"type": "assert_return", "line": 293, "action": {"type": "invoke", "field": "as-drop-operand", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 99 {"type": "assert_return", "line": 294, "action": {"type": "invoke", "field": "as-drop-operand", "args": [{"type": "i32", "value": "1"}]}, "expected": []}, 100 {"type": "assert_return", "line": 295, "action": {"type": "invoke", "field": "as-br-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 101 {"type": "assert_return", "line": 296, "action": {"type": "invoke", "field": "as-br-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 102 {"type": "assert_return", "line": 297, "action": {"type": "invoke", "field": "as-local.set-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 103 {"type": "assert_return", "line": 298, "action": {"type": "invoke", "field": "as-local.set-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 104 {"type": "assert_return", "line": 299, "action": {"type": "invoke", "field": "as-local.tee-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 105 {"type": "assert_return", "line": 300, "action": {"type": "invoke", "field": "as-local.tee-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 106 {"type": "assert_return", "line": 301, "action": {"type": "invoke", "field": "as-global.set-value", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "2"}]}, 107 {"type": "assert_return", "line": 302, "action": {"type": "invoke", "field": "as-global.set-value", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 108 {"type": "assert_return", "line": 303, "action": {"type": "invoke", "field": "as-load-operand", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 109 {"type": "assert_return", "line": 304, "action": {"type": "invoke", "field": "as-load-operand", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 110 {"type": "assert_return", "line": 306, "action": {"type": "invoke", "field": "as-unary-operand", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "0"}]}, 111 {"type": "assert_return", "line": 307, "action": {"type": "invoke", "field": "as-unary-operand", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 112 {"type": "assert_return", "line": 308, "action": {"type": "invoke", "field": "as-binary-operand", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "4"}]}, 113 {"type": "assert_return", "line": 309, "action": {"type": "invoke", "field": "as-binary-operand", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 114 {"type": "assert_return", "line": 310, "action": {"type": "invoke", "field": "as-test-operand", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "0"}]}, 115 {"type": "assert_return", "line": 311, "action": {"type": "invoke", "field": "as-test-operand", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 116 {"type": "assert_return", "line": 312, "action": {"type": "invoke", "field": "as-compare-left", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "0"}]}, 117 {"type": "assert_return", "line": 313, "action": {"type": "invoke", "field": "as-compare-left", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 118 {"type": "assert_return", "line": 314, "action": {"type": "invoke", "field": "as-compare-right", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "0"}]}, 119 {"type": "assert_return", "line": 315, "action": {"type": "invoke", "field": "as-compare-right", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 120 {"type": "assert_return", "line": 316, "action": {"type": "invoke", "field": "as-convert-operand", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "0"}]}, 121 {"type": "assert_return", "line": 317, "action": {"type": "invoke", "field": "as-convert-operand", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 122 {"type": "assert_invalid", "line": 320, "filename": "select.1.wasm", "text": "type mismatch", "module_type": "binary"}, 123 {"type": "assert_invalid", "line": 324, "filename": "select.2.wasm", "text": "invalid result arity", "module_type": "binary"}, 124 {"type": "assert_invalid", "line": 328, "filename": "select.3.wasm", "text": "invalid result arity", "module_type": "binary"}, 125 {"type": "assert_invalid", "line": 340, "filename": "select.4.wasm", "text": "type mismatch", "module_type": "binary"}, 126 {"type": "assert_invalid", "line": 347, "filename": "select.5.wasm", "text": "type mismatch", "module_type": "binary"}, 127 {"type": "assert_invalid", "line": 353, "filename": "select.6.wasm", "text": "type mismatch", "module_type": "binary"}, 128 {"type": "assert_invalid", "line": 359, "filename": "select.7.wasm", "text": "type mismatch", "module_type": "binary"}, 129 {"type": "assert_invalid", "line": 366, "filename": "select.8.wasm", "text": "type mismatch", "module_type": "binary"}, 130 {"type": "assert_invalid", "line": 370, "filename": "select.9.wasm", "text": "type mismatch", "module_type": "binary"}, 131 {"type": "assert_invalid", "line": 374, "filename": "select.10.wasm", "text": "type mismatch", "module_type": "binary"}, 132 {"type": "assert_invalid", "line": 378, "filename": "select.11.wasm", "text": "type mismatch", "module_type": "binary"}, 133 {"type": "assert_invalid", "line": 382, "filename": "select.12.wasm", "text": "type mismatch", "module_type": "binary"}, 134 {"type": "assert_invalid", "line": 388, "filename": "select.13.wasm", "text": "type mismatch", "module_type": "binary"}, 135 {"type": "assert_invalid", "line": 396, "filename": "select.14.wasm", "text": "type mismatch", "module_type": "binary"}, 136 {"type": "assert_invalid", "line": 404, "filename": "select.15.wasm", "text": "type mismatch", "module_type": "binary"}, 137 {"type": "assert_invalid", "line": 412, "filename": "select.16.wasm", "text": "type mismatch", "module_type": "binary"}, 138 {"type": "assert_invalid", "line": 421, "filename": "select.17.wasm", "text": "type mismatch", "module_type": "binary"}, 139 {"type": "assert_invalid", "line": 430, "filename": "select.18.wasm", "text": "type mismatch", "module_type": "binary"}, 140 {"type": "assert_invalid", "line": 439, "filename": "select.19.wasm", "text": "type mismatch", "module_type": "binary"}, 141 {"type": "assert_invalid", "line": 448, "filename": "select.20.wasm", "text": "type mismatch", "module_type": "binary"}, 142 {"type": "assert_invalid", "line": 457, "filename": "select.21.wasm", "text": "type mismatch", "module_type": "binary"}, 143 {"type": "assert_invalid", "line": 466, "filename": "select.22.wasm", "text": "type mismatch", "module_type": "binary"}, 144 {"type": "assert_invalid", "line": 475, "filename": "select.23.wasm", "text": "type mismatch", "module_type": "binary"}, 145 {"type": "assert_invalid", "line": 484, "filename": "select.24.wasm", "text": "type mismatch", "module_type": "binary"}, 146 {"type": "assert_invalid", "line": 496, "filename": "select.25.wasm", "text": "type mismatch", "module_type": "binary"}, 147 {"type": "assert_invalid", "line": 500, "filename": "select.26.wasm", "text": "type mismatch", "module_type": "binary"}, 148 {"type": "assert_invalid", "line": 504, "filename": "select.27.wasm", "text": "type mismatch", "module_type": "binary"}, 149 {"type": "assert_invalid", "line": 511, "filename": "select.28.wasm", "text": "type mismatch", "module_type": "binary"}, 150 {"type": "module", "line": 518, "filename": "select.29.wasm"}]}