Source code
Revision control
Copy as Markdown
Other Tools
(function table_wast_js() {
// table.wast:3
let $$1 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x00", "table.wast:3");
// table.wast:3
let $1 = instance($$1);
// table.wast:4
let $$2 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01", "table.wast:4");
// table.wast:4
let $2 = instance($$2);
// table.wast:5
let $$3 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x70\x01\x00\x00", "table.wast:5");
// table.wast:5
let $3 = instance($$3);
// table.wast:6
let $$4 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x70\x01\x00\x01", "table.wast:6");
// table.wast:6
let $4 = instance($$4);
// table.wast:7
let $$5 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x86\x80\x80\x80\x00\x01\x70\x01\x01\x80\x02", "table.wast:7");
// table.wast:7
let $5 = instance($$5);
// table.wast:8
let $$6 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x87\x80\x80\x80\x00\x01\x70\x01\x00\x80\x80\x04", "table.wast:8");
// table.wast:8
let $6 = instance($$6);
// table.wast:9
let $$7 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x88\x80\x80\x80\x00\x01\x70\x00\xff\xff\xff\xff\x0f", "table.wast:9");
// table.wast:10
let $$8 = module("\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:10");
// table.wast:10
let $7 = instance($$8);
// table.wast:12
let $$9 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01", "table.wast:12");
// table.wast:12
let $8 = instance($$9);
// table.wast:13
let $$10 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x6f\x00\x01", "table.wast:13");
// table.wast:13
let $9 = instance($$10);
// table.wast:14
let $$11 = module("\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:14");
// table.wast:14
let $10 = instance($$11);
// table.wast:16
let $$12 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x87\x80\x80\x80\x00\x02\x70\x00\x00\x70\x00\x00", "table.wast:16");
// table.wast:16
let $11 = instance($$12);
// table.wast:17
let $$13 = module("\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:17");
// table.wast:17
let $12 = instance($$13);
// table.wast:19
let $$14 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x00", "table.wast:19");
// table.wast:19
let $13 = instance($$14);
// table.wast:20
let $$15 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01", "table.wast:20");
// table.wast:20
let $14 = instance($$15);
// table.wast:21
let $$16 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x84\x80\x80\x80\x00\x01\x70\x00\x01", "table.wast:21");
// table.wast:21
let $15 = instance($$16);
// table.wast:23
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");
// table.wast:24
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:24");
// 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:26");
// 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:30");
// table.wast:35
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x88\x80\x80\x80\x00\x01\x70\x00\x80\x80\x80\x80\x10", "table.wast:35");
// table.wast:39
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x8d\x80\x80\x80\x00\x01\x70\x01\x80\x80\x80\x80\x10\x80\x80\x80\x80\x10", "table.wast:39");
// table.wast:43
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x89\x80\x80\x80\x00\x01\x70\x01\x00\x80\x80\x80\x80\x10", "table.wast:43");
// table.wast:51
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x09\x86\x80\x80\x80\x00\x01\x00\x41\x00\x0b\x00", "table.wast:51");
// table.wast:52
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:52");
// table.wast:54
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:54");
// table.wast:58
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:58");
// table.wast:62
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:62");
// table.wast:66
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x70\x00\x01", "table.wast:66");
// table.wast:70
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x70\x00\x00", "table.wast:70");
// table.wast:74
assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x04\x85\x80\x80\x80\x00\x01\x64\x6f\x00\x00", "table.wast:74");
// table.wast:78
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:78");
// table.wast:86
let $$17 = module("\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:86");
// table.wast:86
let $16 = instance($$17);
// table.wast:91
register("M", $16)
// table.wast:93
let $$18 = module("\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:93");
// table.wast:93
let $17 = instance($$18);
// table.wast:112
assert_return(() => call($17, "get1", []), "table.wast:112", "ref.null");
// table.wast:113
assert_return(() => call($17, "get2", []), "table.wast:113", "ref.func");
// table.wast:114
assert_return(() => call($17, "get3", []), "table.wast:114", "ref.func");
// table.wast:115
assert_return(() => call($17, "get4", []), "table.wast:115", "ref.func");
// table.wast:116
assert_return(() => call($17, "get5", []), "table.wast:116", "ref.func");
// table.wast:119
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:119");
// table.wast:127
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:127");
// table.wast:135
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:135");
// table.wast:146
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e", "table.wast:146");
// table.wast:153
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e", "table.wast:153");
// table.wast:160
assert_malformed("\x3c\x6d\x61\x6c\x66\x6f\x72\x6d\x65\x64\x20\x71\x75\x6f\x74\x65\x3e", "table.wast:160");
reinitializeRegistry();
})();