nop.wast.js (20540B)
1 (function nop_wast_js() { 2 3 // nop.wast:3 4 let $$1 = module("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\xa3\x80\x80\x80\x00\x07\x60\x02\x7f\x7f\x01\x7f\x60\x00\x00\x60\x03\x7f\x7f\x7f\x01\x7f\x60\x00\x01\x7f\x60\x01\x7f\x00\x60\x01\x7f\x01\x7f\x60\x02\x7f\x7f\x00\x03\xd4\x80\x80\x80\x00\x53\x01\x02\x03\x03\x03\x03\x04\x04\x04\x05\x05\x05\x05\x05\x03\x03\x03\x03\x03\x03\x03\x03\x04\x04\x04\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x02\x02\x02\x02\x02\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x00\x03\x03\x03\x03\x03\x05\x05\x05\x05\x05\x05\x03\x03\x03\x05\x05\x05\x06\x06\x06\x06\x04\x85\x80\x80\x80\x00\x01\x70\x01\x01\x01\x05\x83\x80\x80\x80\x00\x01\x00\x01\x06\x86\x80\x80\x80\x00\x01\x7f\x01\x41\x00\x0b\x07\xea\x8b\x80\x80\x00\x50\x0d\x61\x73\x2d\x66\x75\x6e\x63\x2d\x66\x69\x72\x73\x74\x00\x02\x0b\x61\x73\x2d\x66\x75\x6e\x63\x2d\x6d\x69\x64\x00\x03\x0c\x61\x73\x2d\x66\x75\x6e\x63\x2d\x6c\x61\x73\x74\x00\x04\x12\x61\x73\x2d\x66\x75\x6e\x63\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x05\x0d\x61\x73\x2d\x64\x72\x6f\x70\x2d\x66\x69\x72\x73\x74\x00\x06\x0c\x61\x73\x2d\x64\x72\x6f\x70\x2d\x6c\x61\x73\x74\x00\x07\x12\x61\x73\x2d\x64\x72\x6f\x70\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x08\x0f\x61\x73\x2d\x73\x65\x6c\x65\x63\x74\x2d\x66\x69\x72\x73\x74\x00\x09\x0e\x61\x73\x2d\x73\x65\x6c\x65\x63\x74\x2d\x6d\x69\x64\x31\x00\x0a\x0e\x61\x73\x2d\x73\x65\x6c\x65\x63\x74\x2d\x6d\x69\x64\x32\x00\x0b\x0e\x61\x73\x2d\x73\x65\x6c\x65\x63\x74\x2d\x6c\x61\x73\x74\x00\x0c\x14\x61\x73\x2d\x73\x65\x6c\x65\x63\x74\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x0d\x0e\x61\x73\x2d\x62\x6c\x6f\x63\x6b\x2d\x66\x69\x72\x73\x74\x00\x0e\x0c\x61\x73\x2d\x62\x6c\x6f\x63\x6b\x2d\x6d\x69\x64\x00\x0f\x0d\x61\x73\x2d\x62\x6c\x6f\x63\x6b\x2d\x6c\x61\x73\x74\x00\x10\x13\x61\x73\x2d\x62\x6c\x6f\x63\x6b\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x11\x0d\x61\x73\x2d\x6c\x6f\x6f\x70\x2d\x66\x69\x72\x73\x74\x00\x12\x0b\x61\x73\x2d\x6c\x6f\x6f\x70\x2d\x6d\x69\x64\x00\x13\x0c\x61\x73\x2d\x6c\x6f\x6f\x70\x2d\x6c\x61\x73\x74\x00\x14\x12\x61\x73\x2d\x6c\x6f\x6f\x70\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x15\x0f\x61\x73\x2d\x69\x66\x2d\x63\x6f\x6e\x64\x69\x74\x69\x6f\x6e\x00\x16\x0a\x61\x73\x2d\x69\x66\x2d\x74\x68\x65\x6e\x00\x17\x0a\x61\x73\x2d\x69\x66\x2d\x65\x6c\x73\x65\x00\x18\x0b\x61\x73\x2d\x62\x72\x2d\x66\x69\x72\x73\x74\x00\x19\x0a\x61\x73\x2d\x62\x72\x2d\x6c\x61\x73\x74\x00\x1a\x10\x61\x73\x2d\x62\x72\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x1b\x0e\x61\x73\x2d\x62\x72\x5f\x69\x66\x2d\x66\x69\x72\x73\x74\x00\x1c\x0c\x61\x73\x2d\x62\x72\x5f\x69\x66\x2d\x6d\x69\x64\x00\x1d\x0d\x61\x73\x2d\x62\x72\x5f\x69\x66\x2d\x6c\x61\x73\x74\x00\x1e\x13\x61\x73\x2d\x62\x72\x5f\x69\x66\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x1f\x11\x61\x73\x2d\x62\x72\x5f\x74\x61\x62\x6c\x65\x2d\x66\x69\x72\x73\x74\x00\x20\x0f\x61\x73\x2d\x62\x72\x5f\x74\x61\x62\x6c\x65\x2d\x6d\x69\x64\x00\x21\x10\x61\x73\x2d\x62\x72\x5f\x74\x61\x62\x6c\x65\x2d\x6c\x61\x73\x74\x00\x22\x16\x61\x73\x2d\x62\x72\x5f\x74\x61\x62\x6c\x65\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x23\x0f\x61\x73\x2d\x72\x65\x74\x75\x72\x6e\x2d\x66\x69\x72\x73\x74\x00\x24\x0e\x61\x73\x2d\x72\x65\x74\x75\x72\x6e\x2d\x6c\x61\x73\x74\x00\x25\x14\x61\x73\x2d\x72\x65\x74\x75\x72\x6e\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x26\x0d\x61\x73\x2d\x63\x61\x6c\x6c\x2d\x66\x69\x72\x73\x74\x00\x27\x0c\x61\x73\x2d\x63\x61\x6c\x6c\x2d\x6d\x69\x64\x31\x00\x28\x0c\x61\x73\x2d\x63\x61\x6c\x6c\x2d\x6d\x69\x64\x32\x00\x29\x0c\x61\x73\x2d\x63\x61\x6c\x6c\x2d\x6c\x61\x73\x74\x00\x2a\x12\x61\x73\x2d\x63\x61\x6c\x6c\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x2b\x0e\x61\x73\x2d\x75\x6e\x61\x72\x79\x2d\x66\x69\x72\x73\x74\x00\x2c\x0d\x61\x73\x2d\x75\x6e\x61\x72\x79\x2d\x6c\x61\x73\x74\x00\x2d\x13\x61\x73\x2d\x75\x6e\x61\x72\x79\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x2e\x0f\x61\x73\x2d\x62\x69\x6e\x61\x72\x79\x2d\x66\x69\x72\x73\x74\x00\x2f\x0d\x61\x73\x2d\x62\x69\x6e\x61\x72\x79\x2d\x6d\x69\x64\x00\x30\x0e\x61\x73\x2d\x62\x69\x6e\x61\x72\x79\x2d\x6c\x61\x73\x74\x00\x31\x14\x61\x73\x2d\x62\x69\x6e\x61\x72\x79\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x32\x0d\x61\x73\x2d\x74\x65\x73\x74\x2d\x66\x69\x72\x73\x74\x00\x33\x0c\x61\x73\x2d\x74\x65\x73\x74\x2d\x6c\x61\x73\x74\x00\x34\x12\x61\x73\x2d\x74\x65\x73\x74\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x35\x10\x61\x73\x2d\x63\x6f\x6d\x70\x61\x72\x65\x2d\x66\x69\x72\x73\x74\x00\x36\x0e\x61\x73\x2d\x63\x6f\x6d\x70\x61\x72\x65\x2d\x6d\x69\x64\x00\x37\x0f\x61\x73\x2d\x63\x6f\x6d\x70\x61\x72\x65\x2d\x6c\x61\x73\x74\x00\x38\x15\x61\x73\x2d\x63\x6f\x6d\x70\x61\x72\x65\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x39\x14\x61\x73\x2d\x6d\x65\x6d\x6f\x72\x79\x2e\x67\x72\x6f\x77\x2d\x66\x69\x72\x73\x74\x00\x3a\x13\x61\x73\x2d\x6d\x65\x6d\x6f\x72\x79\x2e\x67\x72\x6f\x77\x2d\x6c\x61\x73\x74\x00\x3b\x19\x61\x73\x2d\x6d\x65\x6d\x6f\x72\x79\x2e\x67\x72\x6f\x77\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x3c\x16\x61\x73\x2d\x63\x61\x6c\x6c\x5f\x69\x6e\x64\x69\x72\x65\x63\x74\x2d\x66\x69\x72\x73\x74\x00\x3e\x15\x61\x73\x2d\x63\x61\x6c\x6c\x5f\x69\x6e\x64\x69\x72\x65\x63\x74\x2d\x6d\x69\x64\x31\x00\x3f\x15\x61\x73\x2d\x63\x61\x6c\x6c\x5f\x69\x6e\x64\x69\x72\x65\x63\x74\x2d\x6d\x69\x64\x32\x00\x40\x15\x61\x73\x2d\x63\x61\x6c\x6c\x5f\x69\x6e\x64\x69\x72\x65\x63\x74\x2d\x6c\x61\x73\x74\x00\x41\x1b\x61\x73\x2d\x63\x61\x6c\x6c\x5f\x69\x6e\x64\x69\x72\x65\x63\x74\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x42\x12\x61\x73\x2d\x6c\x6f\x63\x61\x6c\x2e\x73\x65\x74\x2d\x66\x69\x72\x73\x74\x00\x43\x11\x61\x73\x2d\x6c\x6f\x63\x61\x6c\x2e\x73\x65\x74\x2d\x6c\x61\x73\x74\x00\x44\x17\x61\x73\x2d\x6c\x6f\x63\x61\x6c\x2e\x73\x65\x74\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x45\x12\x61\x73\x2d\x6c\x6f\x63\x61\x6c\x2e\x74\x65\x65\x2d\x66\x69\x72\x73\x74\x00\x46\x11\x61\x73\x2d\x6c\x6f\x63\x61\x6c\x2e\x74\x65\x65\x2d\x6c\x61\x73\x74\x00\x47\x17\x61\x73\x2d\x6c\x6f\x63\x61\x6c\x2e\x74\x65\x65\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x48\x13\x61\x73\x2d\x67\x6c\x6f\x62\x61\x6c\x2e\x73\x65\x74\x2d\x66\x69\x72\x73\x74\x00\x49\x12\x61\x73\x2d\x67\x6c\x6f\x62\x61\x6c\x2e\x73\x65\x74\x2d\x6c\x61\x73\x74\x00\x4a\x18\x61\x73\x2d\x67\x6c\x6f\x62\x61\x6c\x2e\x73\x65\x74\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x4b\x0d\x61\x73\x2d\x6c\x6f\x61\x64\x2d\x66\x69\x72\x73\x74\x00\x4c\x0c\x61\x73\x2d\x6c\x6f\x61\x64\x2d\x6c\x61\x73\x74\x00\x4d\x12\x61\x73\x2d\x6c\x6f\x61\x64\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x4e\x0e\x61\x73\x2d\x73\x74\x6f\x72\x65\x2d\x66\x69\x72\x73\x74\x00\x4f\x0c\x61\x73\x2d\x73\x74\x6f\x72\x65\x2d\x6d\x69\x64\x00\x50\x0d\x61\x73\x2d\x73\x74\x6f\x72\x65\x2d\x6c\x61\x73\x74\x00\x51\x13\x61\x73\x2d\x73\x74\x6f\x72\x65\x2d\x65\x76\x65\x72\x79\x77\x68\x65\x72\x65\x00\x52\x09\x89\x80\x80\x80\x00\x01\x04\x41\x00\x0b\x01\xd2\x3d\x0b\x0a\xee\x89\x80\x80\x00\x53\x82\x80\x80\x80\x00\x00\x0b\x8a\x80\x80\x80\x00\x00\x20\x00\x20\x01\x20\x02\x6b\x6a\x0b\x85\x80\x80\x80\x00\x00\x01\x41\x01\x0b\x87\x80\x80\x80\x00\x00\x10\x00\x01\x41\x02\x0b\x87\x80\x80\x80\x00\x00\x10\x00\x41\x03\x01\x0b\x8b\x80\x80\x80\x00\x00\x01\x01\x10\x00\x01\x41\x04\x01\x01\x0b\x86\x80\x80\x80\x00\x00\x01\x20\x00\x1a\x0b\x86\x80\x80\x80\x00\x00\x20\x00\x01\x1a\x0b\x89\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x1a\x0b\x8a\x80\x80\x80\x00\x00\x01\x20\x00\x20\x00\x20\x00\x1b\x0b\x8a\x80\x80\x80\x00\x00\x20\x00\x01\x20\x00\x20\x00\x1b\x0b\x8a\x80\x80\x80\x00\x00\x20\x00\x20\x00\x01\x20\x00\x1b\x0b\x8a\x80\x80\x80\x00\x00\x20\x00\x20\x00\x20\x00\x01\x1b\x0b\x90\x80\x80\x80\x00\x00\x01\x20\x00\x01\x01\x20\x00\x01\x01\x20\x00\x01\x01\x1b\x0b\x88\x80\x80\x80\x00\x00\x02\x7f\x01\x41\x02\x0b\x0b\x8a\x80\x80\x80\x00\x00\x02\x7f\x10\x00\x01\x41\x02\x0b\x0b\x8b\x80\x80\x80\x00\x00\x02\x7f\x01\x10\x00\x41\x03\x01\x0b\x0b\x8e\x80\x80\x80\x00\x00\x02\x7f\x01\x01\x10\x00\x01\x41\x04\x01\x01\x0b\x0b\x88\x80\x80\x80\x00\x00\x03\x7f\x01\x41\x02\x0b\x0b\x8a\x80\x80\x80\x00\x00\x03\x7f\x10\x00\x01\x41\x02\x0b\x0b\x8a\x80\x80\x80\x00\x00\x03\x7f\x10\x00\x41\x03\x01\x0b\x0b\x8e\x80\x80\x80\x00\x00\x03\x7f\x01\x01\x10\x00\x01\x41\x04\x01\x01\x0b\x0b\x8a\x80\x80\x80\x00\x00\x20\x00\x01\x04\x40\x10\x00\x0b\x0b\x8b\x80\x80\x80\x00\x00\x20\x00\x04\x40\x01\x05\x10\x00\x0b\x0b\x8b\x80\x80\x80\x00\x00\x20\x00\x04\x40\x10\x00\x05\x01\x0b\x0b\x8a\x80\x80\x80\x00\x00\x02\x7f\x01\x20\x00\x0c\x00\x0b\x0b\x8a\x80\x80\x80\x00\x00\x02\x7f\x20\x00\x01\x0c\x00\x0b\x0b\x8d\x80\x80\x80\x00\x00\x02\x7f\x01\x01\x20\x00\x01\x01\x0c\x00\x0b\x0b\x8c\x80\x80\x80\x00\x00\x02\x7f\x01\x20\x00\x20\x00\x0d\x00\x0b\x0b\x8c\x80\x80\x80\x00\x00\x02\x7f\x20\x00\x01\x20\x00\x0d\x00\x0b\x0b\x8c\x80\x80\x80\x00\x00\x02\x7f\x20\x00\x20\x00\x01\x0d\x00\x0b\x0b\x91\x80\x80\x80\x00\x00\x02\x7f\x01\x01\x20\x00\x01\x01\x20\x00\x01\x01\x0d\x00\x0b\x0b\x8e\x80\x80\x80\x00\x00\x02\x7f\x01\x20\x00\x20\x00\x0e\x01\x00\x00\x0b\x0b\x8e\x80\x80\x80\x00\x00\x02\x7f\x20\x00\x01\x20\x00\x0e\x01\x00\x00\x0b\x0b\x8e\x80\x80\x80\x00\x00\x02\x7f\x20\x00\x20\x00\x01\x0e\x01\x00\x00\x0b\x0b\x93\x80\x80\x80\x00\x00\x02\x7f\x01\x01\x20\x00\x01\x01\x20\x00\x01\x01\x0e\x01\x00\x00\x0b\x0b\x86\x80\x80\x80\x00\x00\x01\x20\x00\x0f\x0b\x86\x80\x80\x80\x00\x00\x20\x00\x01\x0f\x0b\x89\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x0f\x0b\x8b\x80\x80\x80\x00\x00\x01\x20\x00\x20\x01\x20\x02\x10\x01\x0b\x8b\x80\x80\x80\x00\x00\x20\x00\x01\x20\x01\x20\x02\x10\x01\x0b\x8b\x80\x80\x80\x00\x00\x20\x00\x20\x01\x01\x20\x02\x10\x01\x0b\x8b\x80\x80\x80\x00\x00\x20\x00\x20\x01\x20\x02\x01\x10\x01\x0b\x92\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x20\x01\x01\x01\x20\x02\x01\x01\x10\x01\x0b\x86\x80\x80\x80\x00\x00\x01\x20\x00\x68\x0b\x86\x80\x80\x80\x00\x00\x20\x00\x01\x68\x0b\x89\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x68\x0b\x88\x80\x80\x80\x00\x00\x01\x20\x00\x20\x00\x6a\x0b\x88\x80\x80\x80\x00\x00\x20\x00\x01\x20\x00\x6a\x0b\x88\x80\x80\x80\x00\x00\x20\x00\x20\x00\x01\x6a\x0b\x8c\x80\x80\x80\x00\x00\x01\x20\x00\x01\x01\x20\x00\x01\x01\x6a\x0b\x86\x80\x80\x80\x00\x00\x01\x20\x00\x45\x0b\x86\x80\x80\x80\x00\x00\x20\x00\x01\x45\x0b\x89\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x45\x0b\x88\x80\x80\x80\x00\x00\x01\x20\x00\x20\x00\x47\x0b\x88\x80\x80\x80\x00\x00\x20\x00\x01\x20\x00\x47\x0b\x88\x80\x80\x80\x00\x00\x20\x00\x20\x00\x01\x49\x0b\x8c\x80\x80\x80\x00\x00\x01\x20\x00\x01\x01\x20\x00\x01\x01\x4c\x0b\x87\x80\x80\x80\x00\x00\x01\x20\x00\x40\x00\x0b\x87\x80\x80\x80\x00\x00\x20\x00\x01\x40\x00\x0b\x8a\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x40\x00\x0b\x84\x80\x80\x80\x00\x00\x20\x00\x0b\x8f\x80\x80\x80\x00\x00\x02\x7f\x01\x41\x01\x41\x02\x41\x00\x11\x00\x00\x0b\x0b\x8f\x80\x80\x80\x00\x00\x02\x7f\x41\x01\x01\x41\x02\x41\x00\x11\x00\x00\x0b\x0b\x8f\x80\x80\x80\x00\x00\x02\x7f\x41\x01\x41\x02\x01\x41\x00\x11\x00\x00\x0b\x0b\x8f\x80\x80\x80\x00\x00\x02\x7f\x41\x01\x41\x02\x41\x00\x01\x11\x00\x00\x0b\x0b\x96\x80\x80\x80\x00\x00\x02\x7f\x01\x01\x41\x01\x01\x01\x41\x02\x01\x01\x41\x00\x01\x01\x11\x00\x00\x0b\x0b\x89\x80\x80\x80\x00\x00\x01\x41\x02\x21\x00\x20\x00\x0b\x89\x80\x80\x80\x00\x00\x41\x02\x01\x21\x00\x20\x00\x0b\x8c\x80\x80\x80\x00\x00\x01\x01\x41\x02\x01\x01\x21\x00\x20\x00\x0b\x87\x80\x80\x80\x00\x00\x01\x41\x02\x22\x00\x0b\x87\x80\x80\x80\x00\x00\x41\x02\x01\x22\x00\x0b\x8a\x80\x80\x80\x00\x00\x01\x01\x41\x02\x01\x01\x22\x00\x0b\x89\x80\x80\x80\x00\x00\x01\x41\x02\x24\x00\x23\x00\x0b\x89\x80\x80\x80\x00\x00\x41\x02\x01\x24\x00\x23\x00\x0b\x8c\x80\x80\x80\x00\x00\x01\x01\x41\x02\x01\x01\x24\x00\x23\x00\x0b\x88\x80\x80\x80\x00\x00\x01\x20\x00\x28\x02\x00\x0b\x88\x80\x80\x80\x00\x00\x20\x00\x01\x28\x02\x00\x0b\x8b\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x28\x02\x00\x0b\x8a\x80\x80\x80\x00\x00\x01\x20\x00\x20\x01\x36\x02\x00\x0b\x8a\x80\x80\x80\x00\x00\x20\x00\x01\x20\x01\x36\x02\x00\x0b\x8a\x80\x80\x80\x00\x00\x20\x00\x20\x01\x01\x36\x02\x00\x0b\x8f\x80\x80\x80\x00\x00\x01\x01\x20\x00\x01\x01\x20\x01\x01\x01\x36\x02\x00\x0b", "nop.wast:3"); 5 6 // nop.wast:3 7 let $1 = instance($$1); 8 9 // nop.wast:306 10 assert_return(() => call($1, "as-func-first", []), "nop.wast:306", 1); 11 12 // nop.wast:307 13 assert_return(() => call($1, "as-func-mid", []), "nop.wast:307", 2); 14 15 // nop.wast:308 16 assert_return(() => call($1, "as-func-last", []), "nop.wast:308", 3); 17 18 // nop.wast:309 19 assert_return(() => call($1, "as-func-everywhere", []), "nop.wast:309", 4); 20 21 // nop.wast:311 22 assert_return(() => call($1, "as-drop-first", [0]), "nop.wast:311"); 23 24 // nop.wast:312 25 assert_return(() => call($1, "as-drop-last", [0]), "nop.wast:312"); 26 27 // nop.wast:313 28 assert_return(() => call($1, "as-drop-everywhere", [0]), "nop.wast:313"); 29 30 // nop.wast:315 31 assert_return(() => call($1, "as-select-first", [3]), "nop.wast:315", 3); 32 33 // nop.wast:316 34 assert_return(() => call($1, "as-select-mid1", [3]), "nop.wast:316", 3); 35 36 // nop.wast:317 37 assert_return(() => call($1, "as-select-mid2", [3]), "nop.wast:317", 3); 38 39 // nop.wast:318 40 assert_return(() => call($1, "as-select-last", [3]), "nop.wast:318", 3); 41 42 // nop.wast:319 43 assert_return(() => call($1, "as-select-everywhere", [3]), "nop.wast:319", 3); 44 45 // nop.wast:321 46 assert_return(() => call($1, "as-block-first", []), "nop.wast:321", 2); 47 48 // nop.wast:322 49 assert_return(() => call($1, "as-block-mid", []), "nop.wast:322", 2); 50 51 // nop.wast:323 52 assert_return(() => call($1, "as-block-last", []), "nop.wast:323", 3); 53 54 // nop.wast:324 55 assert_return(() => call($1, "as-block-everywhere", []), "nop.wast:324", 4); 56 57 // nop.wast:326 58 assert_return(() => call($1, "as-loop-first", []), "nop.wast:326", 2); 59 60 // nop.wast:327 61 assert_return(() => call($1, "as-loop-mid", []), "nop.wast:327", 2); 62 63 // nop.wast:328 64 assert_return(() => call($1, "as-loop-last", []), "nop.wast:328", 3); 65 66 // nop.wast:329 67 assert_return(() => call($1, "as-loop-everywhere", []), "nop.wast:329", 4); 68 69 // nop.wast:331 70 assert_return(() => call($1, "as-if-condition", [0]), "nop.wast:331"); 71 72 // nop.wast:332 73 assert_return(() => call($1, "as-if-condition", [-1]), "nop.wast:332"); 74 75 // nop.wast:333 76 assert_return(() => call($1, "as-if-then", [0]), "nop.wast:333"); 77 78 // nop.wast:334 79 assert_return(() => call($1, "as-if-then", [4]), "nop.wast:334"); 80 81 // nop.wast:335 82 assert_return(() => call($1, "as-if-else", [0]), "nop.wast:335"); 83 84 // nop.wast:336 85 assert_return(() => call($1, "as-if-else", [3]), "nop.wast:336"); 86 87 // nop.wast:338 88 assert_return(() => call($1, "as-br-first", [5]), "nop.wast:338", 5); 89 90 // nop.wast:339 91 assert_return(() => call($1, "as-br-last", [6]), "nop.wast:339", 6); 92 93 // nop.wast:340 94 assert_return(() => call($1, "as-br-everywhere", [7]), "nop.wast:340", 7); 95 96 // nop.wast:342 97 assert_return(() => call($1, "as-br_if-first", [4]), "nop.wast:342", 4); 98 99 // nop.wast:343 100 assert_return(() => call($1, "as-br_if-mid", [5]), "nop.wast:343", 5); 101 102 // nop.wast:344 103 assert_return(() => call($1, "as-br_if-last", [6]), "nop.wast:344", 6); 104 105 // nop.wast:345 106 assert_return(() => call($1, "as-br_if-everywhere", [7]), "nop.wast:345", 7); 107 108 // nop.wast:347 109 assert_return(() => call($1, "as-br_table-first", [4]), "nop.wast:347", 4); 110 111 // nop.wast:348 112 assert_return(() => call($1, "as-br_table-mid", [5]), "nop.wast:348", 5); 113 114 // nop.wast:349 115 assert_return(() => call($1, "as-br_table-last", [6]), "nop.wast:349", 6); 116 117 // nop.wast:350 118 assert_return(() => call($1, "as-br_table-everywhere", [7]), "nop.wast:350", 7); 119 120 // nop.wast:352 121 assert_return(() => call($1, "as-return-first", [5]), "nop.wast:352", 5); 122 123 // nop.wast:353 124 assert_return(() => call($1, "as-return-last", [6]), "nop.wast:353", 6); 125 126 // nop.wast:354 127 assert_return(() => call($1, "as-return-everywhere", [7]), "nop.wast:354", 7); 128 129 // nop.wast:356 130 assert_return(() => call($1, "as-call-first", [3, 1, 2]), "nop.wast:356", 2); 131 132 // nop.wast:357 133 assert_return(() => call($1, "as-call-mid1", [3, 1, 2]), "nop.wast:357", 2); 134 135 // nop.wast:358 136 assert_return(() => call($1, "as-call-mid2", [0, 3, 1]), "nop.wast:358", 2); 137 138 // nop.wast:359 139 assert_return(() => call($1, "as-call-last", [10, 9, -1]), "nop.wast:359", 20); 140 141 // nop.wast:360 142 assert_return(() => call($1, "as-call-everywhere", [2, 1, 5]), "nop.wast:360", -2); 143 144 // nop.wast:362 145 assert_return(() => call($1, "as-unary-first", [30]), "nop.wast:362", 1); 146 147 // nop.wast:363 148 assert_return(() => call($1, "as-unary-last", [30]), "nop.wast:363", 1); 149 150 // nop.wast:364 151 assert_return(() => call($1, "as-unary-everywhere", [12]), "nop.wast:364", 2); 152 153 // nop.wast:366 154 assert_return(() => call($1, "as-binary-first", [3]), "nop.wast:366", 6); 155 156 // nop.wast:367 157 assert_return(() => call($1, "as-binary-mid", [3]), "nop.wast:367", 6); 158 159 // nop.wast:368 160 assert_return(() => call($1, "as-binary-last", [3]), "nop.wast:368", 6); 161 162 // nop.wast:369 163 assert_return(() => call($1, "as-binary-everywhere", [3]), "nop.wast:369", 6); 164 165 // nop.wast:371 166 assert_return(() => call($1, "as-test-first", [0]), "nop.wast:371", 1); 167 168 // nop.wast:372 169 assert_return(() => call($1, "as-test-last", [0]), "nop.wast:372", 1); 170 171 // nop.wast:373 172 assert_return(() => call($1, "as-test-everywhere", [0]), "nop.wast:373", 1); 173 174 // nop.wast:375 175 assert_return(() => call($1, "as-compare-first", [3]), "nop.wast:375", 0); 176 177 // nop.wast:376 178 assert_return(() => call($1, "as-compare-mid", [3]), "nop.wast:376", 0); 179 180 // nop.wast:377 181 assert_return(() => call($1, "as-compare-last", [3]), "nop.wast:377", 0); 182 183 // nop.wast:378 184 assert_return(() => call($1, "as-compare-everywhere", [3]), "nop.wast:378", 1); 185 186 // nop.wast:380 187 assert_return(() => call($1, "as-memory.grow-first", [0]), "nop.wast:380", 1); 188 189 // nop.wast:381 190 assert_return(() => call($1, "as-memory.grow-last", [2]), "nop.wast:381", 1); 191 192 // nop.wast:382 193 assert_return(() => call($1, "as-memory.grow-everywhere", [12]), "nop.wast:382", 3); 194 195 // nop.wast:384 196 assert_return(() => call($1, "as-call_indirect-first", []), "nop.wast:384", 1); 197 198 // nop.wast:385 199 assert_return(() => call($1, "as-call_indirect-mid1", []), "nop.wast:385", 1); 200 201 // nop.wast:386 202 assert_return(() => call($1, "as-call_indirect-mid2", []), "nop.wast:386", 1); 203 204 // nop.wast:387 205 assert_return(() => call($1, "as-call_indirect-last", []), "nop.wast:387", 1); 206 207 // nop.wast:388 208 assert_return(() => call($1, "as-call_indirect-everywhere", []), "nop.wast:388", 1); 209 210 // nop.wast:390 211 assert_return(() => call($1, "as-local.set-first", [1]), "nop.wast:390", 2); 212 213 // nop.wast:391 214 assert_return(() => call($1, "as-local.set-last", [1]), "nop.wast:391", 2); 215 216 // nop.wast:392 217 assert_return(() => call($1, "as-local.set-everywhere", [1]), "nop.wast:392", 2); 218 219 // nop.wast:394 220 assert_return(() => call($1, "as-local.tee-first", [1]), "nop.wast:394", 2); 221 222 // nop.wast:395 223 assert_return(() => call($1, "as-local.tee-last", [1]), "nop.wast:395", 2); 224 225 // nop.wast:396 226 assert_return(() => call($1, "as-local.tee-everywhere", [1]), "nop.wast:396", 2); 227 228 // nop.wast:398 229 assert_return(() => call($1, "as-global.set-first", []), "nop.wast:398", 2); 230 231 // nop.wast:399 232 assert_return(() => call($1, "as-global.set-last", []), "nop.wast:399", 2); 233 234 // nop.wast:400 235 assert_return(() => call($1, "as-global.set-everywhere", []), "nop.wast:400", 2); 236 237 // nop.wast:402 238 assert_return(() => call($1, "as-load-first", [100]), "nop.wast:402", 0); 239 240 // nop.wast:403 241 assert_return(() => call($1, "as-load-last", [100]), "nop.wast:403", 0); 242 243 // nop.wast:404 244 assert_return(() => call($1, "as-load-everywhere", [100]), "nop.wast:404", 0); 245 246 // nop.wast:406 247 assert_return(() => call($1, "as-store-first", [0, 1]), "nop.wast:406"); 248 249 // nop.wast:407 250 assert_return(() => call($1, "as-store-mid", [0, 2]), "nop.wast:407"); 251 252 // nop.wast:408 253 assert_return(() => call($1, "as-store-last", [0, 3]), "nop.wast:408"); 254 255 // nop.wast:409 256 assert_return(() => call($1, "as-store-everywhere", [0, 4]), "nop.wast:409"); 257 258 // nop.wast:411 259 assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x85\x80\x80\x80\x00\x01\x60\x00\x01\x7f\x03\x82\x80\x80\x80\x00\x01\x00\x0a\x89\x80\x80\x80\x00\x01\x83\x80\x80\x80\x00\x00\x01\x0b", "nop.wast:411"); 260 261 // nop.wast:415 262 assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x85\x80\x80\x80\x00\x01\x60\x00\x01\x7e\x03\x82\x80\x80\x80\x00\x01\x00\x0a\x89\x80\x80\x80\x00\x01\x83\x80\x80\x80\x00\x00\x01\x0b", "nop.wast:415"); 263 264 // nop.wast:419 265 assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x85\x80\x80\x80\x00\x01\x60\x00\x01\x7d\x03\x82\x80\x80\x80\x00\x01\x00\x0a\x89\x80\x80\x80\x00\x01\x83\x80\x80\x80\x00\x00\x01\x0b", "nop.wast:419"); 266 267 // nop.wast:423 268 assert_invalid("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x85\x80\x80\x80\x00\x01\x60\x00\x01\x7c\x03\x82\x80\x80\x80\x00\x01\x00\x0a\x89\x80\x80\x80\x00\x01\x83\x80\x80\x80\x00\x00\x01\x0b", "nop.wast:423"); 269 reinitializeRegistry(); 270 })();