blob: 93030a5ea186a2b7ca208df7f149143f39a7dd4d [file] [log] [blame] [edit]
// table.wast:3
let $1 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x00");
// table.wast:4
let $2 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01");
// table.wast:5
let $3 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x70\x01\x00\x00");
// table.wast:6
let $4 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x70\x01\x00\x01");
// table.wast:7
let $5 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x86\x80\x80\x80\x00\x01\x70\x01\x01\x80\x02");
// table.wast:8
let $6 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x87\x80\x80\x80\x00\x01\x70\x01\x00\x80\x80\x04");
// table.wast:9
let $7 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x89\x80\x80\x80\x00\x01\x70\x01\x00\xff\xff\xff\xff\x0f");
// table.wast:11
let $8 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01");
// table.wast:12
let $9 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x6f\x00\x01");
// table.wast:13
let $10 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x04\x85\x80\x80\x80\x00\x01\x63\x00\x00\x01");
// table.wast:15
let $11 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x87\x80\x80\x80\x00\x02\x70\x00\x00\x70\x00\x00");
// table.wast:16
let $12 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x02\x94\x80\x80\x80\x00\x01\x08\x73\x70\x65\x63\x74\x65\x73\x74\x05\x74\x61\x62\x6c\x65\x01\x70\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x00");
// table.wast:18
let $13 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x00");
// table.wast:19
let $14 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01");
// table.wast:20
let $15 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01");
// table.wast:22
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x09\x86\x80\x80\x80\x00\x01\x00\x41\x00\x0b\x00");
// table.wast:23
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x03\x82\x80\x80\x80\x00\x01\x00\x09\x87\x80\x80\x80\x00\x01\x00\x41\x00\x0b\x01\x00\x0a\x88\x80\x80\x80\x00\x01\x82\x80\x80\x80\x00\x00\x0b");
// table.wast:26
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x70\x01\x01\x00");
// table.wast:30
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x89\x80\x80\x80\x00\x01\x70\x01\xff\xff\xff\xff\x0f\x00");
// table.wast:35
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e");
// table.wast:39
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e");
// table.wast:43
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e");
// table.wast:48
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x89\x80\x80\x80\x00\x01\x40\x00\x70\x00\x01\x41\x00\x0b");
// table.wast:52
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x8a\x80\x80\x80\x00\x01\x40\x00\x64\x70\x00\x01\xd0\x6f\x0b");
// table.wast:56
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x04\x8a\x80\x80\x80\x00\x01\x40\x00\x64\x00\x00\x01\xd0\x70\x0b");
// table.wast:60
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x70\x00\x01");
// table.wast:64
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x70\x00\x00");
// table.wast:68
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x6f\x00\x00");
// table.wast:72
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x00\x00\x00");
// table.wast:80
let $16 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x03\x82\x80\x80\x80\x00\x01\x00\x06\x87\x80\x80\x80\x00\x01\x64\x00\x00\xd2\x00\x0b\x07\x85\x80\x80\x80\x00\x01\x01\x67\x03\x00\x0a\x88\x80\x80\x80\x00\x01\x82\x80\x80\x80\x00\x00\x0b");
// table.wast:85
register("M", $16)
// table.wast:87
let $17 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x88\x80\x80\x80\x00\x02\x60\x00\x00\x60\x00\x01\x70\x02\x89\x80\x80\x80\x00\x01\x01\x4d\x01\x67\x03\x64\x00\x00\x03\x87\x80\x80\x80\x00\x06\x00\x01\x01\x01\x01\x01\x04\xa6\x80\x80\x80\x00\x05\x70\x00\x0a\x40\x00\x70\x00\x0a\xd2\x00\x0b\x40\x00\x64\x00\x00\x0a\xd2\x00\x0b\x40\x00\x70\x00\x0a\x23\x00\x0b\x40\x00\x64\x00\x00\x0a\x23\x00\x0b\x07\xa4\x80\x80\x80\x00\x05\x04\x67\x65\x74\x31\x00\x01\x04\x67\x65\x74\x32\x00\x02\x04\x67\x65\x74\x33\x00\x03\x04\x67\x65\x74\x34\x00\x04\x04\x67\x65\x74\x35\x00\x05\x0a\xbf\x80\x80\x80\x00\x06\x82\x80\x80\x80\x00\x00\x0b\x86\x80\x80\x80\x00\x00\x41\x01\x25\x00\x0b\x86\x80\x80\x80\x00\x00\x41\x04\x25\x01\x0b\x86\x80\x80\x80\x00\x00\x41\x07\x25\x02\x0b\x86\x80\x80\x80\x00\x00\x41\x08\x25\x03\x0b\x86\x80\x80\x80\x00\x00\x41\x09\x25\x04\x0b");
// table.wast:106
assert_return(() => call($17, "get1", []), "ref.null");
// table.wast:107
assert_return(() => call($17, "get2", []), "ref.func");
// table.wast:108
assert_return(() => call($17, "get3", []), "ref.func");
// table.wast:109
assert_return(() => call($17, "get4", []), "ref.func");
// table.wast:110
assert_return(() => call($17, "get5", []), "ref.func");
// table.wast:113
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x00\x00\x0a");
// table.wast:121
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x00\x00\x00");
// table.wast:129
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x84\x80\x80\x80\x00\x01\x60\x00\x00\x04\x86\x80\x80\x80\x00\x01\x64\x00\x01\x00\x00");
// table.wast:140
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e");
// table.wast:147
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e");
// table.wast:154
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e");