"use strict" ;
/* Copyright 2016 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var __
extends = (
this &&
this .__
extends ) || (
function () {
var extendStatics =
function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] }
instanceof Array &&
function (d, b) { d.__proto__ = b; }) ||
function (d, b) {
for (
var p in b)
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]
; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null )
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null" );
extendStatics(d, b);
function __() { this .constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule" , { value: true });
exports.bytesToString = exports.BinaryReader = exports.Int64 = exports.TagAttribute = exports.ElementMode = exports.DataMode = exports.BinaryReaderState = exports.NameType = exports.LinkingType = exports.RelocType = exports.CatchHandler = exports.CatchHandlerKind = exports.RefType = exports.Type = exports.FuncDef = exports.FieldDef = exports.TypeKind = exports.ExternalKind = exports.OperatorCodeNames = exports.OperatorCode = exports.SectionCode = void 0;
// See https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md
var WASM_MAGIC_NUMBER = 0x6d736100;
var WASM_SUPPORTED_EXPERIMENTAL_VERSION = 0xd;
var WASM_SUPPORTED_VERSION = 0x1;
var SectionCode;
(function (SectionCode) {
SectionCode[SectionCode["Unknown" ] = -1] = "Unknown" ;
SectionCode[SectionCode["Custom" ] = 0] = "Custom" ;
SectionCode[SectionCode["Type" ] = 1] = "Type" ;
SectionCode[SectionCode["Import" ] = 2] = "Import" ;
SectionCode[SectionCode["Function" ] = 3] = "Function" ;
SectionCode[SectionCode["Table" ] = 4] = "Table" ;
SectionCode[SectionCode["Memory" ] = 5] = "Memory" ;
SectionCode[SectionCode["Global" ] = 6] = "Global" ;
SectionCode[SectionCode["Export" ] = 7] = "Export" ;
SectionCode[SectionCode["Start" ] = 8] = "Start" ;
SectionCode[SectionCode["Element" ] = 9] = "Element" ;
SectionCode[SectionCode["Code" ] = 10] = "Code" ;
SectionCode[SectionCode["Data" ] = 11] = "Data" ;
SectionCode[SectionCode["DataCount" ] = 12] = "DataCount" ;
SectionCode[SectionCode["Tag" ] = 13] = "Tag" ;
})(SectionCode = exports.SectionCode || (exports.SectionCode = {}));
var OperatorCode;
(function (OperatorCode) {
OperatorCode[OperatorCode["unreachable" ] = 0] = "unreachable" ;
OperatorCode[OperatorCode["nop" ] = 1] = "nop" ;
OperatorCode[OperatorCode["block" ] = 2] = "block" ;
OperatorCode[OperatorCode["loop" ] = 3] = "loop" ;
OperatorCode[OperatorCode["if" ] = 4] = "if" ;
OperatorCode[OperatorCode["else" ] = 5] = "else" ;
OperatorCode[OperatorCode["try" ] = 6] = "try" ;
OperatorCode[OperatorCode["catch" ] = 7] = "catch" ;
OperatorCode[OperatorCode["throw" ] = 8] = "throw" ;
OperatorCode[OperatorCode["rethrow" ] = 9] = "rethrow" ;
OperatorCode[OperatorCode["throw_ref" ] = 10] = "throw_ref" ;
OperatorCode[OperatorCode["end" ] = 11] = "end" ;
OperatorCode[OperatorCode["br" ] = 12] = "br" ;
OperatorCode[OperatorCode["br_if" ] = 13] = "br_if" ;
OperatorCode[OperatorCode["br_table" ] = 14] = "br_table" ;
OperatorCode[OperatorCode["return" ] = 15] = "return" ;
OperatorCode[OperatorCode["call" ] = 16] = "call" ;
OperatorCode[OperatorCode["call_indirect" ] = 17] = "call_indirect" ;
OperatorCode[OperatorCode["return_call" ] = 18] = "return_call" ;
OperatorCode[OperatorCode["return_call_indirect" ] = 19] = "return_call_indirect" ;
OperatorCode[OperatorCode["call_ref" ] = 20] = "call_ref" ;
OperatorCode[OperatorCode["return_call_ref" ] = 21] = "return_call_ref" ;
OperatorCode[OperatorCode["let" ] = 23] = "let" ;
OperatorCode[OperatorCode["delegate" ] = 24] = "delegate" ;
OperatorCode[OperatorCode["catch_all" ] = 25] = "catch_all" ;
OperatorCode[OperatorCode["drop" ] = 26] = "drop" ;
OperatorCode[OperatorCode["select" ] = 27] = "select" ;
OperatorCode[OperatorCode["select_with_type" ] = 28] = "select_with_type" ;
OperatorCode[OperatorCode["try_table" ] = 31] = "try_table" ;
OperatorCode[OperatorCode["local_get" ] = 32] = "local_get" ;
OperatorCode[OperatorCode["local_set" ] = 33] = "local_set" ;
OperatorCode[OperatorCode["local_tee" ] = 34] = "local_tee" ;
OperatorCode[OperatorCode["global_get" ] = 35] = "global_get" ;
OperatorCode[OperatorCode["global_set" ] = 36] = "global_set" ;
OperatorCode[OperatorCode["i32_load" ] = 40] = "i32_load" ;
OperatorCode[OperatorCode["i64_load" ] = 41] = "i64_load" ;
OperatorCode[OperatorCode["f32_load" ] = 42] = "f32_load" ;
OperatorCode[OperatorCode["f64_load" ] = 43] = "f64_load" ;
OperatorCode[OperatorCode["i32_load8_s" ] = 44] = "i32_load8_s" ;
OperatorCode[OperatorCode["i32_load8_u" ] = 45] = "i32_load8_u" ;
OperatorCode[OperatorCode["i32_load16_s" ] = 46] = "i32_load16_s" ;
OperatorCode[OperatorCode["i32_load16_u" ] = 47] = "i32_load16_u" ;
OperatorCode[OperatorCode["i64_load8_s" ] = 48] = "i64_load8_s" ;
OperatorCode[OperatorCode["i64_load8_u" ] = 49] = "i64_load8_u" ;
OperatorCode[OperatorCode["i64_load16_s" ] = 50] = "i64_load16_s" ;
OperatorCode[OperatorCode["i64_load16_u" ] = 51] = "i64_load16_u" ;
OperatorCode[OperatorCode["i64_load32_s" ] = 52] = "i64_load32_s" ;
OperatorCode[OperatorCode["i64_load32_u" ] = 53] = "i64_load32_u" ;
OperatorCode[OperatorCode["i32_store" ] = 54] = "i32_store" ;
OperatorCode[OperatorCode["i64_store" ] = 55] = "i64_store" ;
OperatorCode[OperatorCode["f32_store" ] = 56] = "f32_store" ;
OperatorCode[OperatorCode["f64_store" ] = 57] = "f64_store" ;
OperatorCode[OperatorCode["i32_store8" ] = 58] = "i32_store8" ;
OperatorCode[OperatorCode["i32_store16" ] = 59] = "i32_store16" ;
OperatorCode[OperatorCode["i64_store8" ] = 60] = "i64_store8" ;
OperatorCode[OperatorCode["i64_store16" ] = 61] = "i64_store16" ;
OperatorCode[OperatorCode["i64_store32" ] = 62] = "i64_store32" ;
OperatorCode[OperatorCode["memory_size" ] = 63] = "memory_size" ;
OperatorCode[OperatorCode["memory_grow" ] = 64] = "memory_grow" ;
OperatorCode[OperatorCode["i32_const" ] = 65] = "i32_const" ;
OperatorCode[OperatorCode["i64_const" ] = 66] = "i64_const" ;
OperatorCode[OperatorCode["f32_const" ] = 67] = "f32_const" ;
OperatorCode[OperatorCode["f64_const" ] = 68] = "f64_const" ;
OperatorCode[OperatorCode["i32_eqz" ] = 69] = "i32_eqz" ;
OperatorCode[OperatorCode["i32_eq" ] = 70] = "i32_eq" ;
OperatorCode[OperatorCode["i32_ne" ] = 71] = "i32_ne" ;
OperatorCode[OperatorCode["i32_lt_s" ] = 72] = "i32_lt_s" ;
OperatorCode[OperatorCode["i32_lt_u" ] = 73] = "i32_lt_u" ;
OperatorCode[OperatorCode["i32_gt_s" ] = 74] = "i32_gt_s" ;
OperatorCode[OperatorCode["i32_gt_u" ] = 75] = "i32_gt_u" ;
OperatorCode[OperatorCode["i32_le_s" ] = 76] = "i32_le_s" ;
OperatorCode[OperatorCode["i32_le_u" ] = 77] = "i32_le_u" ;
OperatorCode[OperatorCode["i32_ge_s" ] = 78] = "i32_ge_s" ;
OperatorCode[OperatorCode["i32_ge_u" ] = 79] = "i32_ge_u" ;
OperatorCode[OperatorCode["i64_eqz" ] = 80] = "i64_eqz" ;
OperatorCode[OperatorCode["i64_eq" ] = 81] = "i64_eq" ;
OperatorCode[OperatorCode["i64_ne" ] = 82] = "i64_ne" ;
OperatorCode[OperatorCode["i64_lt_s" ] = 83] = "i64_lt_s" ;
OperatorCode[OperatorCode["i64_lt_u" ] = 84] = "i64_lt_u" ;
OperatorCode[OperatorCode["i64_gt_s" ] = 85] = "i64_gt_s" ;
OperatorCode[OperatorCode["i64_gt_u" ] = 86] = "i64_gt_u" ;
OperatorCode[OperatorCode["i64_le_s" ] = 87] = "i64_le_s" ;
OperatorCode[OperatorCode["i64_le_u" ] = 88] = "i64_le_u" ;
OperatorCode[OperatorCode["i64_ge_s" ] = 89] = "i64_ge_s" ;
OperatorCode[OperatorCode["i64_ge_u" ] = 90] = "i64_ge_u" ;
OperatorCode[OperatorCode["f32_eq" ] = 91] = "f32_eq" ;
OperatorCode[OperatorCode["f32_ne" ] = 92] = "f32_ne" ;
OperatorCode[OperatorCode["f32_lt" ] = 93] = "f32_lt" ;
OperatorCode[OperatorCode["f32_gt" ] = 94] = "f32_gt" ;
OperatorCode[OperatorCode["f32_le" ] = 95] = "f32_le" ;
OperatorCode[OperatorCode["f32_ge" ] = 96] = "f32_ge" ;
OperatorCode[OperatorCode["f64_eq" ] = 97] = "f64_eq" ;
OperatorCode[OperatorCode["f64_ne" ] = 98] = "f64_ne" ;
OperatorCode[OperatorCode["f64_lt" ] = 99] = "f64_lt" ;
OperatorCode[OperatorCode["f64_gt" ] = 100] = "f64_gt" ;
OperatorCode[OperatorCode["f64_le" ] = 101] = "f64_le" ;
OperatorCode[OperatorCode["f64_ge" ] = 102] = "f64_ge" ;
OperatorCode[OperatorCode["i32_clz" ] = 103] = "i32_clz" ;
OperatorCode[OperatorCode["i32_ctz" ] = 104] = "i32_ctz" ;
OperatorCode[OperatorCode["i32_popcnt" ] = 105] = "i32_popcnt" ;
OperatorCode[OperatorCode["i32_add" ] = 106] = "i32_add" ;
OperatorCode[OperatorCode["i32_sub" ] = 107] = "i32_sub" ;
OperatorCode[OperatorCode["i32_mul" ] = 108] = "i32_mul" ;
OperatorCode[OperatorCode["i32_div_s" ] = 109] = "i32_div_s" ;
OperatorCode[OperatorCode["i32_div_u" ] = 110] = "i32_div_u" ;
OperatorCode[OperatorCode["i32_rem_s" ] = 111] = "i32_rem_s" ;
OperatorCode[OperatorCode["i32_rem_u" ] = 112] = "i32_rem_u" ;
OperatorCode[OperatorCode["i32_and" ] = 113] = "i32_and" ;
OperatorCode[OperatorCode["i32_or" ] = 114] = "i32_or" ;
OperatorCode[OperatorCode["i32_xor" ] = 115] = "i32_xor" ;
OperatorCode[OperatorCode["i32_shl" ] = 116] = "i32_shl" ;
OperatorCode[OperatorCode["i32_shr_s" ] = 117] = "i32_shr_s" ;
OperatorCode[OperatorCode["i32_shr_u" ] = 118] = "i32_shr_u" ;
OperatorCode[OperatorCode["i32_rotl" ] = 119] = "i32_rotl" ;
OperatorCode[OperatorCode["i32_rotr" ] = 120] = "i32_rotr" ;
OperatorCode[OperatorCode["i64_clz" ] = 121] = "i64_clz" ;
OperatorCode[OperatorCode["i64_ctz" ] = 122] = "i64_ctz" ;
OperatorCode[OperatorCode["i64_popcnt" ] = 123] = "i64_popcnt" ;
OperatorCode[OperatorCode["i64_add" ] = 124] = "i64_add" ;
OperatorCode[OperatorCode["i64_sub" ] = 125] = "i64_sub" ;
OperatorCode[OperatorCode["i64_mul" ] = 126] = "i64_mul" ;
OperatorCode[OperatorCode["i64_div_s" ] = 127] = "i64_div_s" ;
OperatorCode[OperatorCode["i64_div_u" ] = 128] = "i64_div_u" ;
OperatorCode[OperatorCode["i64_rem_s" ] = 129] = "i64_rem_s" ;
OperatorCode[OperatorCode["i64_rem_u" ] = 130] = "i64_rem_u" ;
OperatorCode[OperatorCode["i64_and" ] = 131] = "i64_and" ;
OperatorCode[OperatorCode["i64_or" ] = 132] = "i64_or" ;
OperatorCode[OperatorCode["i64_xor" ] = 133] = "i64_xor" ;
OperatorCode[OperatorCode["i64_shl" ] = 134] = "i64_shl" ;
OperatorCode[OperatorCode["i64_shr_s" ] = 135] = "i64_shr_s" ;
OperatorCode[OperatorCode["i64_shr_u" ] = 136] = "i64_shr_u" ;
OperatorCode[OperatorCode["i64_rotl" ] = 137] = "i64_rotl" ;
OperatorCode[OperatorCode["i64_rotr" ] = 138] = "i64_rotr" ;
OperatorCode[OperatorCode["f32_abs" ] = 139] = "f32_abs" ;
OperatorCode[OperatorCode["f32_neg" ] = 140] = "f32_neg" ;
OperatorCode[OperatorCode["f32_ceil" ] = 141] = "f32_ceil" ;
OperatorCode[OperatorCode["f32_floor" ] = 142] = "f32_floor" ;
OperatorCode[OperatorCode["f32_trunc" ] = 143] = "f32_trunc" ;
OperatorCode[OperatorCode["f32_nearest" ] = 144] = "f32_nearest" ;
OperatorCode[OperatorCode["f32_sqrt" ] = 145] = "f32_sqrt" ;
OperatorCode[OperatorCode["f32_add" ] = 146] = "f32_add" ;
OperatorCode[OperatorCode["f32_sub" ] = 147] = "f32_sub" ;
OperatorCode[OperatorCode["f32_mul" ] = 148] = "f32_mul" ;
OperatorCode[OperatorCode["f32_div" ] = 149] = "f32_div" ;
OperatorCode[OperatorCode["f32_min" ] = 150] = "f32_min" ;
OperatorCode[OperatorCode["f32_max" ] = 151] = "f32_max" ;
OperatorCode[OperatorCode["f32_copysign" ] = 152] = "f32_copysign" ;
OperatorCode[OperatorCode["f64_abs" ] = 153] = "f64_abs" ;
OperatorCode[OperatorCode["f64_neg" ] = 154] = "f64_neg" ;
OperatorCode[OperatorCode["f64_ceil" ] = 155] = "f64_ceil" ;
OperatorCode[OperatorCode["f64_floor" ] = 156] = "f64_floor" ;
OperatorCode[OperatorCode["f64_trunc" ] = 157] = "f64_trunc" ;
OperatorCode[OperatorCode["f64_nearest" ] = 158] = "f64_nearest" ;
OperatorCode[OperatorCode["f64_sqrt" ] = 159] = "f64_sqrt" ;
OperatorCode[OperatorCode["f64_add" ] = 160] = "f64_add" ;
OperatorCode[OperatorCode["f64_sub" ] = 161] = "f64_sub" ;
OperatorCode[OperatorCode["f64_mul" ] = 162] = "f64_mul" ;
OperatorCode[OperatorCode["f64_div" ] = 163] = "f64_div" ;
OperatorCode[OperatorCode["f64_min" ] = 164] = "f64_min" ;
OperatorCode[OperatorCode["f64_max" ] = 165] = "f64_max" ;
OperatorCode[OperatorCode["f64_copysign" ] = 166] = "f64_copysign" ;
OperatorCode[OperatorCode["i32_wrap_i64" ] = 167] = "i32_wrap_i64" ;
OperatorCode[OperatorCode["i32_trunc_f32_s" ] = 168] = "i32_trunc_f32_s" ;
OperatorCode[OperatorCode["i32_trunc_f32_u" ] = 169] = "i32_trunc_f32_u" ;
OperatorCode[OperatorCode["i32_trunc_f64_s" ] = 170] = "i32_trunc_f64_s" ;
OperatorCode[OperatorCode["i32_trunc_f64_u" ] = 171] = "i32_trunc_f64_u" ;
OperatorCode[OperatorCode["i64_extend_i32_s" ] = 172] = "i64_extend_i32_s" ;
OperatorCode[OperatorCode["i64_extend_i32_u" ] = 173] = "i64_extend_i32_u" ;
OperatorCode[OperatorCode["i64_trunc_f32_s" ] = 174] = "i64_trunc_f32_s" ;
OperatorCode[OperatorCode["i64_trunc_f32_u" ] = 175] = "i64_trunc_f32_u" ;
OperatorCode[OperatorCode["i64_trunc_f64_s" ] = 176] = "i64_trunc_f64_s" ;
OperatorCode[OperatorCode["i64_trunc_f64_u" ] = 177] = "i64_trunc_f64_u" ;
OperatorCode[OperatorCode["f32_convert_i32_s" ] = 178] = "f32_convert_i32_s" ;
OperatorCode[OperatorCode["f32_convert_i32_u" ] = 179] = "f32_convert_i32_u" ;
OperatorCode[OperatorCode["f32_convert_i64_s" ] = 180] = "f32_convert_i64_s" ;
OperatorCode[OperatorCode["f32_convert_i64_u" ] = 181] = "f32_convert_i64_u" ;
OperatorCode[OperatorCode["f32_demote_f64" ] = 182] = "f32_demote_f64" ;
OperatorCode[OperatorCode["f64_convert_i32_s" ] = 183] = "f64_convert_i32_s" ;
OperatorCode[OperatorCode["f64_convert_i32_u" ] = 184] = "f64_convert_i32_u" ;
OperatorCode[OperatorCode["f64_convert_i64_s" ] = 185] = "f64_convert_i64_s" ;
OperatorCode[OperatorCode["f64_convert_i64_u" ] = 186] = "f64_convert_i64_u" ;
OperatorCode[OperatorCode["f64_promote_f32" ] = 187] = "f64_promote_f32" ;
OperatorCode[OperatorCode["i32_reinterpret_f32" ] = 188] = "i32_reinterpret_f32" ;
OperatorCode[OperatorCode["i64_reinterpret_f64" ] = 189] = "i64_reinterpret_f64" ;
OperatorCode[OperatorCode["f32_reinterpret_i32" ] = 190] = "f32_reinterpret_i32" ;
OperatorCode[OperatorCode["f64_reinterpret_i64" ] = 191] = "f64_reinterpret_i64" ;
OperatorCode[OperatorCode["i32_extend8_s" ] = 192] = "i32_extend8_s" ;
OperatorCode[OperatorCode["i32_extend16_s" ] = 193] = "i32_extend16_s" ;
OperatorCode[OperatorCode["i64_extend8_s" ] = 194] = "i64_extend8_s" ;
OperatorCode[OperatorCode["i64_extend16_s" ] = 195] = "i64_extend16_s" ;
OperatorCode[OperatorCode["i64_extend32_s" ] = 196] = "i64_extend32_s" ;
OperatorCode[OperatorCode["prefix_0xfb" ] = 251] = "prefix_0xfb" ;
OperatorCode[OperatorCode["prefix_0xfc" ] = 252] = "prefix_0xfc" ;
OperatorCode[OperatorCode["prefix_0xfd" ] = 253] = "prefix_0xfd" ;
OperatorCode[OperatorCode["prefix_0xfe" ] = 254] = "prefix_0xfe" ;
OperatorCode[OperatorCode["i32_trunc_sat_f32_s" ] = 64512] = "i32_trunc_sat_f32_s" ;
OperatorCode[OperatorCode["i32_trunc_sat_f32_u" ] = 64513] = "i32_trunc_sat_f32_u" ;
OperatorCode[OperatorCode["i32_trunc_sat_f64_s" ] = 64514] = "i32_trunc_sat_f64_s" ;
OperatorCode[OperatorCode["i32_trunc_sat_f64_u" ] = 64515] = "i32_trunc_sat_f64_u" ;
OperatorCode[OperatorCode["i64_trunc_sat_f32_s" ] = 64516] = "i64_trunc_sat_f32_s" ;
OperatorCode[OperatorCode["i64_trunc_sat_f32_u" ] = 64517] = "i64_trunc_sat_f32_u" ;
OperatorCode[OperatorCode["i64_trunc_sat_f64_s" ] = 64518] = "i64_trunc_sat_f64_s" ;
OperatorCode[OperatorCode["i64_trunc_sat_f64_u" ] = 64519] = "i64_trunc_sat_f64_u" ;
OperatorCode[OperatorCode["memory_init" ] = 64520] = "memory_init" ;
OperatorCode[OperatorCode["data_drop" ] = 64521] = "data_drop" ;
OperatorCode[OperatorCode["memory_copy" ] = 64522] = "memory_copy" ;
OperatorCode[OperatorCode["memory_fill" ] = 64523] = "memory_fill" ;
OperatorCode[OperatorCode["table_init" ] = 64524] = "table_init" ;
OperatorCode[OperatorCode["elem_drop" ] = 64525] = "elem_drop" ;
OperatorCode[OperatorCode["table_copy" ] = 64526] = "table_copy" ;
OperatorCode[OperatorCode["table_grow" ] = 64527] = "table_grow" ;
OperatorCode[OperatorCode["table_size" ] = 64528] = "table_size" ;
OperatorCode[OperatorCode["table_fill" ] = 64529] = "table_fill" ;
OperatorCode[OperatorCode["table_get" ] = 37] = "table_get" ;
OperatorCode[OperatorCode["table_set" ] = 38] = "table_set" ;
OperatorCode[OperatorCode["ref_null" ] = 208] = "ref_null" ;
OperatorCode[OperatorCode["ref_is_null" ] = 209] = "ref_is_null" ;
OperatorCode[OperatorCode["ref_func" ] = 210] = "ref_func" ;
OperatorCode[OperatorCode["ref_eq" ] = 211] = "ref_eq" ;
OperatorCode[OperatorCode["ref_as_non_null" ] = 212] = "ref_as_non_null" ;
OperatorCode[OperatorCode["br_on_null" ] = 213] = "br_on_null" ;
OperatorCode[OperatorCode["br_on_non_null" ] = 214] = "br_on_non_null" ;
OperatorCode[OperatorCode["memory_atomic_notify" ] = 65024] = "memory_atomic_notify" ;
OperatorCode[OperatorCode["memory_atomic_wait32" ] = 65025] = "memory_atomic_wait32" ;
OperatorCode[OperatorCode["memory_atomic_wait64" ] = 65026] = "memory_atomic_wait64" ;
OperatorCode[OperatorCode["atomic_fence" ] = 65027] = "atomic_fence" ;
OperatorCode[OperatorCode["i32_atomic_load" ] = 65040] = "i32_atomic_load" ;
OperatorCode[OperatorCode["i64_atomic_load" ] = 65041] = "i64_atomic_load" ;
OperatorCode[OperatorCode["i32_atomic_load8_u" ] = 65042] = "i32_atomic_load8_u" ;
OperatorCode[OperatorCode["i32_atomic_load16_u" ] = 65043] = "i32_atomic_load16_u" ;
OperatorCode[OperatorCode["i64_atomic_load8_u" ] = 65044] = "i64_atomic_load8_u" ;
OperatorCode[OperatorCode["i64_atomic_load16_u" ] = 65045] = "i64_atomic_load16_u" ;
OperatorCode[OperatorCode["i64_atomic_load32_u" ] = 65046] = "i64_atomic_load32_u" ;
OperatorCode[OperatorCode["i32_atomic_store" ] = 65047] = "i32_atomic_store" ;
OperatorCode[OperatorCode["i64_atomic_store" ] = 65048] = "i64_atomic_store" ;
OperatorCode[OperatorCode["i32_atomic_store8" ] = 65049] = "i32_atomic_store8" ;
OperatorCode[OperatorCode["i32_atomic_store16" ] = 65050] = "i32_atomic_store16" ;
OperatorCode[OperatorCode["i64_atomic_store8" ] = 65051] = "i64_atomic_store8" ;
OperatorCode[OperatorCode["i64_atomic_store16" ] = 65052] = "i64_atomic_store16" ;
OperatorCode[OperatorCode["i64_atomic_store32" ] = 65053] = "i64_atomic_store32" ;
OperatorCode[OperatorCode["i32_atomic_rmw_add" ] = 65054] = "i32_atomic_rmw_add" ;
OperatorCode[OperatorCode["i64_atomic_rmw_add" ] = 65055] = "i64_atomic_rmw_add" ;
OperatorCode[OperatorCode["i32_atomic_rmw8_add_u" ] = 65056] = "i32_atomic_rmw8_add_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw16_add_u" ] = 65057] = "i32_atomic_rmw16_add_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw8_add_u" ] = 65058] = "i64_atomic_rmw8_add_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw16_add_u" ] = 65059] = "i64_atomic_rmw16_add_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw32_add_u" ] = 65060] = "i64_atomic_rmw32_add_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw_sub" ] = 65061] = "i32_atomic_rmw_sub" ;
OperatorCode[OperatorCode["i64_atomic_rmw_sub" ] = 65062] = "i64_atomic_rmw_sub" ;
OperatorCode[OperatorCode["i32_atomic_rmw8_sub_u" ] = 65063] = "i32_atomic_rmw8_sub_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw16_sub_u" ] = 65064] = "i32_atomic_rmw16_sub_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw8_sub_u" ] = 65065] = "i64_atomic_rmw8_sub_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw16_sub_u" ] = 65066] = "i64_atomic_rmw16_sub_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw32_sub_u" ] = 65067] = "i64_atomic_rmw32_sub_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw_and" ] = 65068] = "i32_atomic_rmw_and" ;
OperatorCode[OperatorCode["i64_atomic_rmw_and" ] = 65069] = "i64_atomic_rmw_and" ;
OperatorCode[OperatorCode["i32_atomic_rmw8_and_u" ] = 65070] = "i32_atomic_rmw8_and_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw16_and_u" ] = 65071] = "i32_atomic_rmw16_and_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw8_and_u" ] = 65072] = "i64_atomic_rmw8_and_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw16_and_u" ] = 65073] = "i64_atomic_rmw16_and_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw32_and_u" ] = 65074] = "i64_atomic_rmw32_and_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw_or" ] = 65075] = "i32_atomic_rmw_or" ;
OperatorCode[OperatorCode["i64_atomic_rmw_or" ] = 65076] = "i64_atomic_rmw_or" ;
OperatorCode[OperatorCode["i32_atomic_rmw8_or_u" ] = 65077] = "i32_atomic_rmw8_or_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw16_or_u" ] = 65078] = "i32_atomic_rmw16_or_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw8_or_u" ] = 65079] = "i64_atomic_rmw8_or_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw16_or_u" ] = 65080] = "i64_atomic_rmw16_or_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw32_or_u" ] = 65081] = "i64_atomic_rmw32_or_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw_xor" ] = 65082] = "i32_atomic_rmw_xor" ;
OperatorCode[OperatorCode["i64_atomic_rmw_xor" ] = 65083] = "i64_atomic_rmw_xor" ;
OperatorCode[OperatorCode["i32_atomic_rmw8_xor_u" ] = 65084] = "i32_atomic_rmw8_xor_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw16_xor_u" ] = 65085] = "i32_atomic_rmw16_xor_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw8_xor_u" ] = 65086] = "i64_atomic_rmw8_xor_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw16_xor_u" ] = 65087] = "i64_atomic_rmw16_xor_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw32_xor_u" ] = 65088] = "i64_atomic_rmw32_xor_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw_xchg" ] = 65089] = "i32_atomic_rmw_xchg" ;
OperatorCode[OperatorCode["i64_atomic_rmw_xchg" ] = 65090] = "i64_atomic_rmw_xchg" ;
OperatorCode[OperatorCode["i32_atomic_rmw8_xchg_u" ] = 65091] = "i32_atomic_rmw8_xchg_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw16_xchg_u" ] = 65092] = "i32_atomic_rmw16_xchg_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw8_xchg_u" ] = 65093] = "i64_atomic_rmw8_xchg_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw16_xchg_u" ] = 65094] = "i64_atomic_rmw16_xchg_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw32_xchg_u" ] = 65095] = "i64_atomic_rmw32_xchg_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw_cmpxchg" ] = 65096] = "i32_atomic_rmw_cmpxchg" ;
OperatorCode[OperatorCode["i64_atomic_rmw_cmpxchg" ] = 65097] = "i64_atomic_rmw_cmpxchg" ;
OperatorCode[OperatorCode["i32_atomic_rmw8_cmpxchg_u" ] = 65098] = "i32_atomic_rmw8_cmpxchg_u" ;
OperatorCode[OperatorCode["i32_atomic_rmw16_cmpxchg_u" ] = 65099] = "i32_atomic_rmw16_cmpxchg_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw8_cmpxchg_u" ] = 65100] = "i64_atomic_rmw8_cmpxchg_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw16_cmpxchg_u" ] = 65101] = "i64_atomic_rmw16_cmpxchg_u" ;
OperatorCode[OperatorCode["i64_atomic_rmw32_cmpxchg_u" ] = 65102] = "i64_atomic_rmw32_cmpxchg_u" ;
OperatorCode[OperatorCode["v128_load" ] = 1036288] = "v128_load" ;
OperatorCode[OperatorCode["i16x8_load8x8_s" ] = 1036289] = "i16x8_load8x8_s" ;
OperatorCode[OperatorCode["i16x8_load8x8_u" ] = 1036290] = "i16x8_load8x8_u" ;
OperatorCode[OperatorCode["i32x4_load16x4_s" ] = 1036291] = "i32x4_load16x4_s" ;
OperatorCode[OperatorCode["i32x4_load16x4_u" ] = 1036292] = "i32x4_load16x4_u" ;
OperatorCode[OperatorCode["i64x2_load32x2_s" ] = 1036293] = "i64x2_load32x2_s" ;
OperatorCode[OperatorCode["i64x2_load32x2_u" ] = 1036294] = "i64x2_load32x2_u" ;
OperatorCode[OperatorCode["v8x16_load_splat" ] = 1036295] = "v8x16_load_splat" ;
OperatorCode[OperatorCode["v16x8_load_splat" ] = 1036296] = "v16x8_load_splat" ;
OperatorCode[OperatorCode["v32x4_load_splat" ] = 1036297] = "v32x4_load_splat" ;
OperatorCode[OperatorCode["v64x2_load_splat" ] = 1036298] = "v64x2_load_splat" ;
OperatorCode[OperatorCode["v128_store" ] = 1036299] = "v128_store" ;
OperatorCode[OperatorCode["v128_const" ] = 1036300] = "v128_const" ;
OperatorCode[OperatorCode["i8x16_shuffle" ] = 1036301] = "i8x16_shuffle" ;
OperatorCode[OperatorCode["i8x16_swizzle" ] = 1036302] = "i8x16_swizzle" ;
OperatorCode[OperatorCode["i8x16_splat" ] = 1036303] = "i8x16_splat" ;
OperatorCode[OperatorCode["i16x8_splat" ] = 1036304] = "i16x8_splat" ;
OperatorCode[OperatorCode["i32x4_splat" ] = 1036305] = "i32x4_splat" ;
OperatorCode[OperatorCode["i64x2_splat" ] = 1036306] = "i64x2_splat" ;
OperatorCode[OperatorCode["f32x4_splat" ] = 1036307] = "f32x4_splat" ;
OperatorCode[OperatorCode["f64x2_splat" ] = 1036308] = "f64x2_splat" ;
OperatorCode[OperatorCode["i8x16_extract_lane_s" ] = 1036309] = "i8x16_extract_lane_s" ;
OperatorCode[OperatorCode["i8x16_extract_lane_u" ] = 1036310] = "i8x16_extract_lane_u" ;
OperatorCode[OperatorCode["i8x16_replace_lane" ] = 1036311] = "i8x16_replace_lane" ;
OperatorCode[OperatorCode["i16x8_extract_lane_s" ] = 1036312] = "i16x8_extract_lane_s" ;
OperatorCode[OperatorCode["i16x8_extract_lane_u" ] = 1036313] = "i16x8_extract_lane_u" ;
OperatorCode[OperatorCode["i16x8_replace_lane" ] = 1036314] = "i16x8_replace_lane" ;
OperatorCode[OperatorCode["i32x4_extract_lane" ] = 1036315] = "i32x4_extract_lane" ;
OperatorCode[OperatorCode["i32x4_replace_lane" ] = 1036316] = "i32x4_replace_lane" ;
OperatorCode[OperatorCode["i64x2_extract_lane" ] = 1036317] = "i64x2_extract_lane" ;
OperatorCode[OperatorCode["i64x2_replace_lane" ] = 1036318] = "i64x2_replace_lane" ;
OperatorCode[OperatorCode["f32x4_extract_lane" ] = 1036319] = "f32x4_extract_lane" ;
OperatorCode[OperatorCode["f32x4_replace_lane" ] = 1036320] = "f32x4_replace_lane" ;
OperatorCode[OperatorCode["f64x2_extract_lane" ] = 1036321] = "f64x2_extract_lane" ;
OperatorCode[OperatorCode["f64x2_replace_lane" ] = 1036322] = "f64x2_replace_lane" ;
OperatorCode[OperatorCode["i8x16_eq" ] = 1036323] = "i8x16_eq" ;
OperatorCode[OperatorCode["i8x16_ne" ] = 1036324] = "i8x16_ne" ;
OperatorCode[OperatorCode["i8x16_lt_s" ] = 1036325] = "i8x16_lt_s" ;
OperatorCode[OperatorCode["i8x16_lt_u" ] = 1036326] = "i8x16_lt_u" ;
OperatorCode[OperatorCode["i8x16_gt_s" ] = 1036327] = "i8x16_gt_s" ;
OperatorCode[OperatorCode["i8x16_gt_u" ] = 1036328] = "i8x16_gt_u" ;
OperatorCode[OperatorCode["i8x16_le_s" ] = 1036329] = "i8x16_le_s" ;
OperatorCode[OperatorCode["i8x16_le_u" ] = 1036330] = "i8x16_le_u" ;
OperatorCode[OperatorCode["i8x16_ge_s" ] = 1036331] = "i8x16_ge_s" ;
OperatorCode[OperatorCode["i8x16_ge_u" ] = 1036332] = "i8x16_ge_u" ;
OperatorCode[OperatorCode["i16x8_eq" ] = 1036333] = "i16x8_eq" ;
OperatorCode[OperatorCode["i16x8_ne" ] = 1036334] = "i16x8_ne" ;
OperatorCode[OperatorCode["i16x8_lt_s" ] = 1036335] = "i16x8_lt_s" ;
OperatorCode[OperatorCode["i16x8_lt_u" ] = 1036336] = "i16x8_lt_u" ;
OperatorCode[OperatorCode["i16x8_gt_s" ] = 1036337] = "i16x8_gt_s" ;
OperatorCode[OperatorCode["i16x8_gt_u" ] = 1036338] = "i16x8_gt_u" ;
OperatorCode[OperatorCode["i16x8_le_s" ] = 1036339] = "i16x8_le_s" ;
OperatorCode[OperatorCode["i16x8_le_u" ] = 1036340] = "i16x8_le_u" ;
OperatorCode[OperatorCode["i16x8_ge_s" ] = 1036341] = "i16x8_ge_s" ;
OperatorCode[OperatorCode["i16x8_ge_u" ] = 1036342] = "i16x8_ge_u" ;
OperatorCode[OperatorCode["i32x4_eq" ] = 1036343] = "i32x4_eq" ;
OperatorCode[OperatorCode["i32x4_ne" ] = 1036344] = "i32x4_ne" ;
OperatorCode[OperatorCode["i32x4_lt_s" ] = 1036345] = "i32x4_lt_s" ;
OperatorCode[OperatorCode["i32x4_lt_u" ] = 1036346] = "i32x4_lt_u" ;
OperatorCode[OperatorCode["i32x4_gt_s" ] = 1036347] = "i32x4_gt_s" ;
OperatorCode[OperatorCode["i32x4_gt_u" ] = 1036348] = "i32x4_gt_u" ;
OperatorCode[OperatorCode["i32x4_le_s" ] = 1036349] = "i32x4_le_s" ;
OperatorCode[OperatorCode["i32x4_le_u" ] = 1036350] = "i32x4_le_u" ;
OperatorCode[OperatorCode["i32x4_ge_s" ] = 1036351] = "i32x4_ge_s" ;
OperatorCode[OperatorCode["i32x4_ge_u" ] = 1036352] = "i32x4_ge_u" ;
OperatorCode[OperatorCode["f32x4_eq" ] = 1036353] = "f32x4_eq" ;
OperatorCode[OperatorCode["f32x4_ne" ] = 1036354] = "f32x4_ne" ;
OperatorCode[OperatorCode["f32x4_lt" ] = 1036355] = "f32x4_lt" ;
OperatorCode[OperatorCode["f32x4_gt" ] = 1036356] = "f32x4_gt" ;
OperatorCode[OperatorCode["f32x4_le" ] = 1036357] = "f32x4_le" ;
OperatorCode[OperatorCode["f32x4_ge" ] = 1036358] = "f32x4_ge" ;
OperatorCode[OperatorCode["f64x2_eq" ] = 1036359] = "f64x2_eq" ;
OperatorCode[OperatorCode["f64x2_ne" ] = 1036360] = "f64x2_ne" ;
OperatorCode[OperatorCode["f64x2_lt" ] = 1036361] = "f64x2_lt" ;
OperatorCode[OperatorCode["f64x2_gt" ] = 1036362] = "f64x2_gt" ;
OperatorCode[OperatorCode["f64x2_le" ] = 1036363] = "f64x2_le" ;
OperatorCode[OperatorCode["f64x2_ge" ] = 1036364] = "f64x2_ge" ;
OperatorCode[OperatorCode["v128_not" ] = 1036365] = "v128_not" ;
OperatorCode[OperatorCode["v128_and" ] = 1036366] = "v128_and" ;
OperatorCode[OperatorCode["v128_andnot" ] = 1036367] = "v128_andnot" ;
OperatorCode[OperatorCode["v128_or" ] = 1036368] = "v128_or" ;
OperatorCode[OperatorCode["v128_xor" ] = 1036369] = "v128_xor" ;
OperatorCode[OperatorCode["v128_bitselect" ] = 1036370] = "v128_bitselect" ;
OperatorCode[OperatorCode["v128_any_true" ] = 1036371] = "v128_any_true" ;
OperatorCode[OperatorCode["v128_load8_lane" ] = 1036372] = "v128_load8_lane" ;
OperatorCode[OperatorCode["v128_load16_lane" ] = 1036373] = "v128_load16_lane" ;
OperatorCode[OperatorCode["v128_load32_lane" ] = 1036374] = "v128_load32_lane" ;
OperatorCode[OperatorCode["v128_load64_lane" ] = 1036375] = "v128_load64_lane" ;
OperatorCode[OperatorCode["v128_store8_lane" ] = 1036376] = "v128_store8_lane" ;
OperatorCode[OperatorCode["v128_store16_lane" ] = 1036377] = "v128_store16_lane" ;
OperatorCode[OperatorCode["v128_store32_lane" ] = 1036378] = "v128_store32_lane" ;
OperatorCode[OperatorCode["v128_store64_lane" ] = 1036379] = "v128_store64_lane" ;
OperatorCode[OperatorCode["v128_load32_zero" ] = 1036380] = "v128_load32_zero" ;
OperatorCode[OperatorCode["v128_load64_zero" ] = 1036381] = "v128_load64_zero" ;
OperatorCode[OperatorCode["f32x4_demote_f64x2_zero" ] = 1036382] = "f32x4_demote_f64x2_zero" ;
OperatorCode[OperatorCode["f64x2_promote_low_f32x4" ] = 1036383] = "f64x2_promote_low_f32x4" ;
OperatorCode[OperatorCode["i8x16_abs" ] = 1036384] = "i8x16_abs" ;
OperatorCode[OperatorCode["i8x16_neg" ] = 1036385] = "i8x16_neg" ;
OperatorCode[OperatorCode["i8x16_popcnt" ] = 1036386] = "i8x16_popcnt" ;
OperatorCode[OperatorCode["i8x16_all_true" ] = 1036387] = "i8x16_all_true" ;
OperatorCode[OperatorCode["i8x16_bitmask" ] = 1036388] = "i8x16_bitmask" ;
OperatorCode[OperatorCode["i8x16_narrow_i16x8_s" ] = 1036389] = "i8x16_narrow_i16x8_s" ;
OperatorCode[OperatorCode["i8x16_narrow_i16x8_u" ] = 1036390] = "i8x16_narrow_i16x8_u" ;
OperatorCode[OperatorCode["f32x4_ceil" ] = 1036391] = "f32x4_ceil" ;
OperatorCode[OperatorCode["f32x4_floor" ] = 1036392] = "f32x4_floor" ;
OperatorCode[OperatorCode["f32x4_trunc" ] = 1036393] = "f32x4_trunc" ;
OperatorCode[OperatorCode["f32x4_nearest" ] = 1036394] = "f32x4_nearest" ;
OperatorCode[OperatorCode["i8x16_shl" ] = 1036395] = "i8x16_shl" ;
OperatorCode[OperatorCode["i8x16_shr_s" ] = 1036396] = "i8x16_shr_s" ;
OperatorCode[OperatorCode["i8x16_shr_u" ] = 1036397] = "i8x16_shr_u" ;
OperatorCode[OperatorCode["i8x16_add" ] = 1036398] = "i8x16_add" ;
OperatorCode[OperatorCode["i8x16_add_sat_s" ] = 1036399] = "i8x16_add_sat_s" ;
OperatorCode[OperatorCode["i8x16_add_sat_u" ] = 1036400] = "i8x16_add_sat_u" ;
OperatorCode[OperatorCode["i8x16_sub" ] = 1036401] = "i8x16_sub" ;
OperatorCode[OperatorCode["i8x16_sub_sat_s" ] = 1036402] = "i8x16_sub_sat_s" ;
OperatorCode[OperatorCode["i8x16_sub_sat_u" ] = 1036403] = "i8x16_sub_sat_u" ;
OperatorCode[OperatorCode["f64x2_ceil" ] = 1036404] = "f64x2_ceil" ;
OperatorCode[OperatorCode["f64x2_floor" ] = 1036405] = "f64x2_floor" ;
OperatorCode[OperatorCode["i8x16_min_s" ] = 1036406] = "i8x16_min_s" ;
OperatorCode[OperatorCode["i8x16_min_u" ] = 1036407] = "i8x16_min_u" ;
OperatorCode[OperatorCode["i8x16_max_s" ] = 1036408] = "i8x16_max_s" ;
OperatorCode[OperatorCode["i8x16_max_u" ] = 1036409] = "i8x16_max_u" ;
OperatorCode[OperatorCode["f64x2_trunc" ] = 1036410] = "f64x2_trunc" ;
OperatorCode[OperatorCode["i8x16_avgr_u" ] = 1036411] = "i8x16_avgr_u" ;
OperatorCode[OperatorCode["i16x8_extadd_pairwise_i8x16_s" ] = 1036412] = "i16x8_extadd_pairwise_i8x16_s" ;
OperatorCode[OperatorCode["i16x8_extadd_pairwise_i8x16_u" ] = 1036413] = "i16x8_extadd_pairwise_i8x16_u" ;
OperatorCode[OperatorCode["i32x4_extadd_pairwise_i16x8_s" ] = 1036414] = "i32x4_extadd_pairwise_i16x8_s" ;
OperatorCode[OperatorCode["i32x4_extadd_pairwise_i16x8_u" ] = 1036415] = "i32x4_extadd_pairwise_i16x8_u" ;
OperatorCode[OperatorCode["i16x8_abs" ] = 1036416] = "i16x8_abs" ;
OperatorCode[OperatorCode["i16x8_neg" ] = 1036417] = "i16x8_neg" ;
OperatorCode[OperatorCode["i16x8_q15mulr_sat_s" ] = 1036418] = "i16x8_q15mulr_sat_s" ;
OperatorCode[OperatorCode["i16x8_all_true" ] = 1036419] = "i16x8_all_true" ;
OperatorCode[OperatorCode["i16x8_bitmask" ] = 1036420] = "i16x8_bitmask" ;
OperatorCode[OperatorCode["i16x8_narrow_i32x4_s" ] = 1036421] = "i16x8_narrow_i32x4_s" ;
OperatorCode[OperatorCode["i16x8_narrow_i32x4_u" ] = 1036422] = "i16x8_narrow_i32x4_u" ;
OperatorCode[OperatorCode["i16x8_extend_low_i8x16_s" ] = 1036423] = "i16x8_extend_low_i8x16_s" ;
OperatorCode[OperatorCode["i16x8_extend_high_i8x16_s" ] = 1036424] = "i16x8_extend_high_i8x16_s" ;
OperatorCode[OperatorCode["i16x8_extend_low_i8x16_u" ] = 1036425] = "i16x8_extend_low_i8x16_u" ;
OperatorCode[OperatorCode["i16x8_extend_high_i8x16_u" ] = 1036426] = "i16x8_extend_high_i8x16_u" ;
OperatorCode[OperatorCode["i16x8_shl" ] = 1036427] = "i16x8_shl" ;
OperatorCode[OperatorCode["i16x8_shr_s" ] = 1036428] = "i16x8_shr_s" ;
OperatorCode[OperatorCode["i16x8_shr_u" ] = 1036429] = "i16x8_shr_u" ;
OperatorCode[OperatorCode["i16x8_add" ] = 1036430] = "i16x8_add" ;
OperatorCode[OperatorCode["i16x8_add_sat_s" ] = 1036431] = "i16x8_add_sat_s" ;
OperatorCode[OperatorCode["i16x8_add_sat_u" ] = 1036432] = "i16x8_add_sat_u" ;
OperatorCode[OperatorCode["i16x8_sub" ] = 1036433] = "i16x8_sub" ;
OperatorCode[OperatorCode["i16x8_sub_sat_s" ] = 1036434] = "i16x8_sub_sat_s" ;
OperatorCode[OperatorCode["i16x8_sub_sat_u" ] = 1036435] = "i16x8_sub_sat_u" ;
OperatorCode[OperatorCode["f64x2_nearest" ] = 1036436] = "f64x2_nearest" ;
OperatorCode[OperatorCode["i16x8_mul" ] = 1036437] = "i16x8_mul" ;
OperatorCode[OperatorCode["i16x8_min_s" ] = 1036438] = "i16x8_min_s" ;
OperatorCode[OperatorCode["i16x8_min_u" ] = 1036439] = "i16x8_min_u" ;
OperatorCode[OperatorCode["i16x8_max_s" ] = 1036440] = "i16x8_max_s" ;
OperatorCode[OperatorCode["i16x8_max_u" ] = 1036441] = "i16x8_max_u" ;
OperatorCode[OperatorCode["i16x8_avgr_u" ] = 1036443] = "i16x8_avgr_u" ;
OperatorCode[OperatorCode["i16x8_extmul_low_i8x16_s" ] = 1036444] = "i16x8_extmul_low_i8x16_s" ;
OperatorCode[OperatorCode["i16x8_extmul_high_i8x16_s" ] = 1036445] = "i16x8_extmul_high_i8x16_s" ;
OperatorCode[OperatorCode["i16x8_extmul_low_i8x16_u" ] = 1036446] = "i16x8_extmul_low_i8x16_u" ;
OperatorCode[OperatorCode["i16x8_extmul_high_i8x16_u" ] = 1036447] = "i16x8_extmul_high_i8x16_u" ;
OperatorCode[OperatorCode["i32x4_abs" ] = 1036448] = "i32x4_abs" ;
OperatorCode[OperatorCode["i32x4_neg" ] = 1036449] = "i32x4_neg" ;
OperatorCode[OperatorCode["i32x4_all_true" ] = 1036451] = "i32x4_all_true" ;
OperatorCode[OperatorCode["i32x4_bitmask" ] = 1036452] = "i32x4_bitmask" ;
OperatorCode[OperatorCode["i32x4_extend_low_i16x8_s" ] = 1036455] = "i32x4_extend_low_i16x8_s" ;
OperatorCode[OperatorCode["i32x4_extend_high_i16x8_s" ] = 1036456] = "i32x4_extend_high_i16x8_s" ;
OperatorCode[OperatorCode["i32x4_extend_low_i16x8_u" ] = 1036457] = "i32x4_extend_low_i16x8_u" ;
OperatorCode[OperatorCode["i32x4_extend_high_i16x8_u" ] = 1036458] = "i32x4_extend_high_i16x8_u" ;
OperatorCode[OperatorCode["i32x4_shl" ] = 1036459] = "i32x4_shl" ;
OperatorCode[OperatorCode["i32x4_shr_s" ] = 1036460] = "i32x4_shr_s" ;
OperatorCode[OperatorCode["i32x4_shr_u" ] = 1036461] = "i32x4_shr_u" ;
OperatorCode[OperatorCode["i32x4_add" ] = 1036462] = "i32x4_add" ;
OperatorCode[OperatorCode["i32x4_sub" ] = 1036465] = "i32x4_sub" ;
OperatorCode[OperatorCode["i32x4_mul" ] = 1036469] = "i32x4_mul" ;
OperatorCode[OperatorCode["i32x4_min_s" ] = 1036470] = "i32x4_min_s" ;
OperatorCode[OperatorCode["i32x4_min_u" ] = 1036471] = "i32x4_min_u" ;
OperatorCode[OperatorCode["i32x4_max_s" ] = 1036472] = "i32x4_max_s" ;
OperatorCode[OperatorCode["i32x4_max_u" ] = 1036473] = "i32x4_max_u" ;
OperatorCode[OperatorCode["i32x4_dot_i16x8_s" ] = 1036474] = "i32x4_dot_i16x8_s" ;
OperatorCode[OperatorCode["i32x4_extmul_low_i16x8_s" ] = 1036476] = "i32x4_extmul_low_i16x8_s" ;
OperatorCode[OperatorCode["i32x4_extmul_high_i16x8_s" ] = 1036477] = "i32x4_extmul_high_i16x8_s" ;
OperatorCode[OperatorCode["i32x4_extmul_low_i16x8_u" ] = 1036478] = "i32x4_extmul_low_i16x8_u" ;
OperatorCode[OperatorCode["i32x4_extmul_high_i16x8_u" ] = 1036479] = "i32x4_extmul_high_i16x8_u" ;
OperatorCode[OperatorCode["i64x2_abs" ] = 1036480] = "i64x2_abs" ;
OperatorCode[OperatorCode["i64x2_neg" ] = 1036481] = "i64x2_neg" ;
OperatorCode[OperatorCode["i64x2_all_true" ] = 1036483] = "i64x2_all_true" ;
OperatorCode[OperatorCode["i64x2_bitmask" ] = 1036484] = "i64x2_bitmask" ;
OperatorCode[OperatorCode["i64x2_extend_low_i32x4_s" ] = 1036487] = "i64x2_extend_low_i32x4_s" ;
OperatorCode[OperatorCode["i64x2_extend_high_i32x4_s" ] = 1036488] = "i64x2_extend_high_i32x4_s" ;
OperatorCode[OperatorCode["i64x2_extend_low_i32x4_u" ] = 1036489] = "i64x2_extend_low_i32x4_u" ;
OperatorCode[OperatorCode["i64x2_extend_high_i32x4_u" ] = 1036490] = "i64x2_extend_high_i32x4_u" ;
OperatorCode[OperatorCode["i64x2_shl" ] = 1036491] = "i64x2_shl" ;
OperatorCode[OperatorCode["i64x2_shr_s" ] = 1036492] = "i64x2_shr_s" ;
OperatorCode[OperatorCode["i64x2_shr_u" ] = 1036493] = "i64x2_shr_u" ;
OperatorCode[OperatorCode["i64x2_add" ] = 1036494] = "i64x2_add" ;
OperatorCode[OperatorCode["i64x2_sub" ] = 1036497] = "i64x2_sub" ;
OperatorCode[OperatorCode["i64x2_mul" ] = 1036501] = "i64x2_mul" ;
OperatorCode[OperatorCode["i64x2_eq" ] = 1036502] = "i64x2_eq" ;
OperatorCode[OperatorCode["i64x2_ne" ] = 1036503] = "i64x2_ne" ;
OperatorCode[OperatorCode["i64x2_lt_s" ] = 1036504] = "i64x2_lt_s" ;
OperatorCode[OperatorCode["i64x2_gt_s" ] = 1036505] = "i64x2_gt_s" ;
OperatorCode[OperatorCode["i64x2_le_s" ] = 1036506] = "i64x2_le_s" ;
OperatorCode[OperatorCode["i64x2_ge_s" ] = 1036507] = "i64x2_ge_s" ;
OperatorCode[OperatorCode["i64x2_extmul_low_i32x4_s" ] = 1036508] = "i64x2_extmul_low_i32x4_s" ;
OperatorCode[OperatorCode["i64x2_extmul_high_i32x4_s" ] = 1036509] = "i64x2_extmul_high_i32x4_s" ;
OperatorCode[OperatorCode["i64x2_extmul_low_i32x4_u" ] = 1036510] = "i64x2_extmul_low_i32x4_u" ;
OperatorCode[OperatorCode["i64x2_extmul_high_i32x4_u" ] = 1036511] = "i64x2_extmul_high_i32x4_u" ;
OperatorCode[OperatorCode["f32x4_abs" ] = 1036512] = "f32x4_abs" ;
OperatorCode[OperatorCode["f32x4_neg" ] = 1036513] = "f32x4_neg" ;
OperatorCode[OperatorCode["f32x4_sqrt" ] = 1036515] = "f32x4_sqrt" ;
OperatorCode[OperatorCode["f32x4_add" ] = 1036516] = "f32x4_add" ;
OperatorCode[OperatorCode["f32x4_sub" ] = 1036517] = "f32x4_sub" ;
OperatorCode[OperatorCode["f32x4_mul" ] = 1036518] = "f32x4_mul" ;
OperatorCode[OperatorCode["f32x4_div" ] = 1036519] = "f32x4_div" ;
OperatorCode[OperatorCode["f32x4_min" ] = 1036520] = "f32x4_min" ;
OperatorCode[OperatorCode["f32x4_max" ] = 1036521] = "f32x4_max" ;
OperatorCode[OperatorCode["f32x4_pmin" ] = 1036522] = "f32x4_pmin" ;
OperatorCode[OperatorCode["f32x4_pmax" ] = 1036523] = "f32x4_pmax" ;
OperatorCode[OperatorCode["f64x2_abs" ] = 1036524] = "f64x2_abs" ;
OperatorCode[OperatorCode["f64x2_neg" ] = 1036525] = "f64x2_neg" ;
OperatorCode[OperatorCode["f64x2_sqrt" ] = 1036527] = "f64x2_sqrt" ;
OperatorCode[OperatorCode["f64x2_add" ] = 1036528] = "f64x2_add" ;
OperatorCode[OperatorCode["f64x2_sub" ] = 1036529] = "f64x2_sub" ;
OperatorCode[OperatorCode["f64x2_mul" ] = 1036530] = "f64x2_mul" ;
OperatorCode[OperatorCode["f64x2_div" ] = 1036531] = "f64x2_div" ;
OperatorCode[OperatorCode["f64x2_min" ] = 1036532] = "f64x2_min" ;
OperatorCode[OperatorCode["f64x2_max" ] = 1036533] = "f64x2_max" ;
OperatorCode[OperatorCode["f64x2_pmin" ] = 1036534] = "f64x2_pmin" ;
OperatorCode[OperatorCode["f64x2_pmax" ] = 1036535] = "f64x2_pmax" ;
OperatorCode[OperatorCode["i32x4_trunc_sat_f32x4_s" ] = 1036536] = "i32x4_trunc_sat_f32x4_s" ;
OperatorCode[OperatorCode["i32x4_trunc_sat_f32x4_u" ] = 1036537] = "i32x4_trunc_sat_f32x4_u" ;
OperatorCode[OperatorCode["f32x4_convert_i32x4_s" ] = 1036538] = "f32x4_convert_i32x4_s" ;
OperatorCode[OperatorCode["f32x4_convert_i32x4_u" ] = 1036539] = "f32x4_convert_i32x4_u" ;
OperatorCode[OperatorCode["i32x4_trunc_sat_f64x2_s_zero" ] = 1036540] = "i32x4_trunc_sat_f64x2_s_zero" ;
OperatorCode[OperatorCode["i32x4_trunc_sat_f64x2_u_zero" ] = 1036541] = "i32x4_trunc_sat_f64x2_u_zero" ;
OperatorCode[OperatorCode["f64x2_convert_low_i32x4_s" ] = 1036542] = "f64x2_convert_low_i32x4_s" ;
OperatorCode[OperatorCode["f64x2_convert_low_i32x4_u" ] = 1036543] = "f64x2_convert_low_i32x4_u" ;
// Relaxed SIMD
OperatorCode[OperatorCode["i8x16_relaxed_swizzle" ] = 1036544] = "i8x16_relaxed_swizzle" ;
OperatorCode[OperatorCode["i32x4_relaxed_trunc_f32x4_s" ] = 1036545] = "i32x4_relaxed_trunc_f32x4_s" ;
OperatorCode[OperatorCode["i32x4_relaxed_trunc_f32x4_u" ] = 1036546] = "i32x4_relaxed_trunc_f32x4_u" ;
OperatorCode[OperatorCode["i32x4_relaxed_trunc_f64x2_s_zero" ] = 1036547] = "i32x4_relaxed_trunc_f64x2_s_zero" ;
OperatorCode[OperatorCode["i32x4_relaxed_trunc_f64x2_u_zero" ] = 1036548] = "i32x4_relaxed_trunc_f64x2_u_zero" ;
OperatorCode[OperatorCode["f32x4_relaxed_madd" ] = 1036549] = "f32x4_relaxed_madd" ;
OperatorCode[OperatorCode["f32x4_relaxed_nmadd" ] = 1036550] = "f32x4_relaxed_nmadd" ;
OperatorCode[OperatorCode["f64x2_relaxed_madd" ] = 1036551] = "f64x2_relaxed_madd" ;
OperatorCode[OperatorCode["f64x2_relaxed_nmadd" ] = 1036552] = "f64x2_relaxed_nmadd" ;
OperatorCode[OperatorCode["i8x16_relaxed_laneselect" ] = 1036553] = "i8x16_relaxed_laneselect" ;
OperatorCode[OperatorCode["i16x8_relaxed_laneselect" ] = 1036554] = "i16x8_relaxed_laneselect" ;
OperatorCode[OperatorCode["i32x4_relaxed_laneselect" ] = 1036555] = "i32x4_relaxed_laneselect" ;
OperatorCode[OperatorCode["i64x2_relaxed_laneselect" ] = 1036556] = "i64x2_relaxed_laneselect" ;
OperatorCode[OperatorCode["f32x4_relaxed_min" ] = 1036557] = "f32x4_relaxed_min" ;
OperatorCode[OperatorCode["f32x4_relaxed_max" ] = 1036558] = "f32x4_relaxed_max" ;
OperatorCode[OperatorCode["f64x2_relaxed_min" ] = 1036559] = "f64x2_relaxed_min" ;
OperatorCode[OperatorCode["f64x2_relaxed_max" ] = 1036560] = "f64x2_relaxed_max" ;
OperatorCode[OperatorCode["i16x8_relaxed_q15mulr_s" ] = 1036561] = "i16x8_relaxed_q15mulr_s" ;
OperatorCode[OperatorCode["i16x8_relaxed_dot_i8x16_i7x16_s" ] = 1036562] = "i16x8_relaxed_dot_i8x16_i7x16_s" ;
OperatorCode[OperatorCode["i32x4_relaxed_dot_i8x16_i7x16_add_s" ] = 1036563] = "i32x4_relaxed_dot_i8x16_i7x16_add_s" ;
// GC proposal.
OperatorCode[OperatorCode["struct_new" ] = 64256] = "struct_new" ;
OperatorCode[OperatorCode["struct_new_default" ] = 64257] = "struct_new_default" ;
OperatorCode[OperatorCode["struct_get" ] = 64258] = "struct_get" ;
OperatorCode[OperatorCode["struct_get_s" ] = 64259] = "struct_get_s" ;
OperatorCode[OperatorCode["struct_get_u" ] = 64260] = "struct_get_u" ;
OperatorCode[OperatorCode["struct_set" ] = 64261] = "struct_set" ;
OperatorCode[OperatorCode["array_new" ] = 64262] = "array_new" ;
OperatorCode[OperatorCode["array_new_default" ] = 64263] = "array_new_default" ;
OperatorCode[OperatorCode["array_new_fixed" ] = 64264] = "array_new_fixed" ;
OperatorCode[OperatorCode["array_new_data" ] = 64265] = "array_new_data" ;
OperatorCode[OperatorCode["array_new_elem" ] = 64266] = "array_new_elem" ;
OperatorCode[OperatorCode["array_get" ] = 64267] = "array_get" ;
OperatorCode[OperatorCode["array_get_s" ] = 64268] = "array_get_s" ;
OperatorCode[OperatorCode["array_get_u" ] = 64269] = "array_get_u" ;
OperatorCode[OperatorCode["array_set" ] = 64270] = "array_set" ;
OperatorCode[OperatorCode["array_len" ] = 64271] = "array_len" ;
OperatorCode[OperatorCode["array_fill" ] = 64272] = "array_fill" ;
OperatorCode[OperatorCode["array_copy" ] = 64273] = "array_copy" ;
OperatorCode[OperatorCode["array_init_data" ] = 64274] = "array_init_data" ;
OperatorCode[OperatorCode["array_init_elem" ] = 64275] = "array_init_elem" ;
OperatorCode[OperatorCode["ref_test" ] = 64276] = "ref_test" ;
OperatorCode[OperatorCode["ref_test_null" ] = 64277] = "ref_test_null" ;
OperatorCode[OperatorCode["ref_cast" ] = 64278] = "ref_cast" ;
OperatorCode[OperatorCode["ref_cast_null" ] = 64279] = "ref_cast_null" ;
OperatorCode[OperatorCode["br_on_cast" ] = 64280] = "br_on_cast" ;
OperatorCode[OperatorCode["br_on_cast_fail" ] = 64281] = "br_on_cast_fail" ;
OperatorCode[OperatorCode["any_convert_extern" ] = 64282] = "any_convert_extern" ;
OperatorCode[OperatorCode["extern_convert_any" ] = 64283] = "extern_convert_any" ;
OperatorCode[OperatorCode["ref_i31" ] = 64284] = "ref_i31" ;
OperatorCode[OperatorCode["i31_get_s" ] = 64285] = "i31_get_s" ;
OperatorCode[OperatorCode["i31_get_u" ] = 64286] = "i31_get_u" ;
})(OperatorCode = exports.OperatorCode || (exports.OperatorCode = {}));
exports.OperatorCodeNames = [
"unreachable" ,
"nop" ,
"block" ,
"loop" ,
"if" ,
"else" ,
"try" ,
"catch" ,
"throw" ,
"rethrow" ,
"throw_ref" ,
"end" ,
"br" ,
"br_if" ,
"br_table" ,
"return" ,
"call" ,
"call_indirect" ,
"return_call" ,
"return_call_indirect" ,
"call_ref" ,
"return_call_ref" ,
undefined,
"let" ,
"delegate" ,
"catch_all" ,
"drop" ,
"select" ,
"select" ,
undefined,
undefined,
"try_table" ,
"local.get" ,
"local.set" ,
"local.tee" ,
"global.get" ,
"global.set" ,
"table.get" ,
"table.set" ,
undefined,
"i32.load" ,
"i64.load" ,
"f32.load" ,
"f64.load" ,
"i32.load8_s" ,
"i32.load8_u" ,
"i32.load16_s" ,
"i32.load16_u" ,
"i64.load8_s" ,
"i64.load8_u" ,
"i64.load16_s" ,
"i64.load16_u" ,
"i64.load32_s" ,
"i64.load32_u" ,
"i32.store" ,
"i64.store" ,
"f32.store" ,
"f64.store" ,
"i32.store8" ,
"i32.store16" ,
"i64.store8" ,
"i64.store16" ,
"i64.store32" ,
"memory.size" ,
"memory.grow" ,
"i32.const" ,
"i64.const" ,
"f32.const" ,
"f64.const" ,
"i32.eqz" ,
"i32.eq" ,
"i32.ne" ,
"i32.lt_s" ,
"i32.lt_u" ,
"i32.gt_s" ,
"i32.gt_u" ,
"i32.le_s" ,
"i32.le_u" ,
"i32.ge_s" ,
"i32.ge_u" ,
"i64.eqz" ,
"i64.eq" ,
"i64.ne" ,
"i64.lt_s" ,
"i64.lt_u" ,
"i64.gt_s" ,
"i64.gt_u" ,
"i64.le_s" ,
"i64.le_u" ,
"i64.ge_s" ,
"i64.ge_u" ,
"f32.eq" ,
"f32.ne" ,
"f32.lt" ,
"f32.gt" ,
"f32.le" ,
"f32.ge" ,
"f64.eq" ,
"f64.ne" ,
"f64.lt" ,
"f64.gt" ,
"f64.le" ,
"f64.ge" ,
"i32.clz" ,
"i32.ctz" ,
"i32.popcnt" ,
"i32.add" ,
"i32.sub" ,
"i32.mul" ,
"i32.div_s" ,
"i32.div_u" ,
"i32.rem_s" ,
"i32.rem_u" ,
"i32.and" ,
"i32.or" ,
"i32.xor" ,
"i32.shl" ,
"i32.shr_s" ,
"i32.shr_u" ,
"i32.rotl" ,
"i32.rotr" ,
"i64.clz" ,
"i64.ctz" ,
"i64.popcnt" ,
"i64.add" ,
"i64.sub" ,
"i64.mul" ,
"i64.div_s" ,
"i64.div_u" ,
"i64.rem_s" ,
"i64.rem_u" ,
"i64.and" ,
"i64.or" ,
"i64.xor" ,
"i64.shl" ,
"i64.shr_s" ,
"i64.shr_u" ,
"i64.rotl" ,
"i64.rotr" ,
"f32.abs" ,
"f32.neg" ,
"f32.ceil" ,
"f32.floor" ,
"f32.trunc" ,
"f32.nearest" ,
"f32.sqrt" ,
"f32.add" ,
"f32.sub" ,
"f32.mul" ,
"f32.div" ,
"f32.min" ,
"f32.max" ,
"f32.copysign" ,
"f64.abs" ,
"f64.neg" ,
"f64.ceil" ,
"f64.floor" ,
"f64.trunc" ,
"f64.nearest" ,
"f64.sqrt" ,
"f64.add" ,
"f64.sub" ,
"f64.mul" ,
"f64.div" ,
"f64.min" ,
"f64.max" ,
"f64.copysign" ,
"i32.wrap_i64" ,
"i32.trunc_f32_s" ,
"i32.trunc_f32_u" ,
"i32.trunc_f64_s" ,
"i32.trunc_f64_u" ,
"i64.extend_i32_s" ,
"i64.extend_i32_u" ,
"i64.trunc_f32_s" ,
"i64.trunc_f32_u" ,
"i64.trunc_f64_s" ,
"i64.trunc_f64_u" ,
"f32.convert_i32_s" ,
"f32.convert_i32_u" ,
"f32.convert_i64_s" ,
"f32.convert_i64_u" ,
"f32.demote_f64" ,
"f64.convert_i32_s" ,
"f64.convert_i32_u" ,
"f64.convert_i64_s" ,
"f64.convert_i64_u" ,
"f64.promote_f32" ,
"i32.reinterpret_f32" ,
"i64.reinterpret_f64" ,
"f32.reinterpret_i32" ,
"f64.reinterpret_i64" ,
"i32.extend8_s" ,
"i32.extend16_s" ,
"i64.extend8_s" ,
"i64.extend16_s" ,
"i64.extend32_s" ,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
"ref.null" ,
"ref.is_null" ,
"ref.func" ,
"ref.eq" ,
"ref.as_non_null" ,
"br_on_null" ,
"br_on_non_null" ,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
];
[
"i32.trunc_sat_f32_s" ,
"i32.trunc_sat_f32_u" ,
"i32.trunc_sat_f64_s" ,
"i32.trunc_sat_f64_u" ,
"i64.trunc_sat_f32_s" ,
"i64.trunc_sat_f32_u" ,
"i64.trunc_sat_f64_s" ,
"i64.trunc_sat_f64_u" ,
"memory.init" ,
"data.drop" ,
"memory.copy" ,
"memory.fill" ,
"table.init" ,
"elem.drop" ,
"table.copy" ,
"table.grow" ,
"table.size" ,
"table.fill" ,
].forEach(function (s, i) {
exports.OperatorCodeNames[0xfc00 | i] = s;
});
[
"v128.load" ,
"i16x8.load8x8_s" ,
"i16x8.load8x8_u" ,
"i32x4.load16x4_s" ,
"i32x4.load16x4_u" ,
"i64x2.load32x2_s" ,
"i64x2.load32x2_u" ,
"v8x16.load_splat" ,
"v16x8.load_splat" ,
"v32x4.load_splat" ,
"v64x2.load_splat" ,
"v128.store" ,
"v128.const" ,
"i8x16.shuffle" ,
"i8x16.swizzle" ,
"i8x16.splat" ,
"i16x8.splat" ,
"i32x4.splat" ,
"i64x2.splat" ,
"f32x4.splat" ,
"f64x2.splat" ,
"i8x16.extract_lane_s" ,
"i8x16.extract_lane_u" ,
"i8x16.replace_lane" ,
"i16x8.extract_lane_s" ,
"i16x8.extract_lane_u" ,
"i16x8.replace_lane" ,
"i32x4.extract_lane" ,
"i32x4.replace_lane" ,
"i64x2.extract_lane" ,
"i64x2.replace_lane" ,
"f32x4.extract_lane" ,
"f32x4.replace_lane" ,
"f64x2.extract_lane" ,
"f64x2.replace_lane" ,
"i8x16.eq" ,
"i8x16.ne" ,
"i8x16.lt_s" ,
"i8x16.lt_u" ,
"i8x16.gt_s" ,
"i8x16.gt_u" ,
"i8x16.le_s" ,
"i8x16.le_u" ,
"i8x16.ge_s" ,
"i8x16.ge_u" ,
"i16x8.eq" ,
"i16x8.ne" ,
"i16x8.lt_s" ,
"i16x8.lt_u" ,
"i16x8.gt_s" ,
"i16x8.gt_u" ,
"i16x8.le_s" ,
"i16x8.le_u" ,
"i16x8.ge_s" ,
"i16x8.ge_u" ,
"i32x4.eq" ,
"i32x4.ne" ,
"i32x4.lt_s" ,
"i32x4.lt_u" ,
"i32x4.gt_s" ,
"i32x4.gt_u" ,
"i32x4.le_s" ,
"i32x4.le_u" ,
"i32x4.ge_s" ,
"i32x4.ge_u" ,
"f32x4.eq" ,
"f32x4.ne" ,
"f32x4.lt" ,
"f32x4.gt" ,
"f32x4.le" ,
"f32x4.ge" ,
"f64x2.eq" ,
"f64x2.ne" ,
"f64x2.lt" ,
"f64x2.gt" ,
"f64x2.le" ,
"f64x2.ge" ,
"v128.not" ,
"v128.and" ,
"v128.andnot" ,
"v128.or" ,
"v128.xor" ,
"v128.bitselect" ,
"v128.any_true" ,
"v128.load8_lane" ,
"v128.load16_lane" ,
"v128.load32_lane" ,
"v128.load64_lane" ,
"v128.store8_lane" ,
"v128.store16_lane" ,
"v128.store32_lane" ,
"v128.store64_lane" ,
"v128.load32_zero" ,
"v128.load64_zero" ,
"f32x4.demote_f64x2_zero" ,
"f64x2.promote_low_f32x4" ,
"i8x16.abs" ,
"i8x16.neg" ,
"i8x16_popcnt" ,
"i8x16.all_true" ,
"i8x16.bitmask" ,
"i8x16.narrow_i16x8_s" ,
"i8x16.narrow_i16x8_u" ,
"f32x4.ceil" ,
"f32x4.floor" ,
"f32x4.trunc" ,
"f32x4.nearest" ,
"i8x16.shl" ,
"i8x16.shr_s" ,
"i8x16.shr_u" ,
"i8x16.add" ,
"i8x16.add_sat_s" ,
"i8x16.add_sat_u" ,
"i8x16.sub" ,
"i8x16.sub_sat_s" ,
"i8x16.sub_sat_u" ,
"f64x2.ceil" ,
"f64x2.floor" ,
"i8x16.min_s" ,
"i8x16.min_u" ,
"i8x16.max_s" ,
"i8x16.max_u" ,
"f64x2.trunc" ,
"i8x16.avgr_u" ,
"i16x8.extadd_pairwise_i8x16_s" ,
"i16x8.extadd_pairwise_i8x16_u" ,
"i32x4.extadd_pairwise_i16x8_s" ,
"i32x4.extadd_pairwise_i16x8_u" ,
"i16x8.abs" ,
"i16x8.neg" ,
"i16x8.q15mulr_sat_s" ,
"i16x8.all_true" ,
"i16x8.bitmask" ,
"i16x8.narrow_i32x4_s" ,
"i16x8.narrow_i32x4_u" ,
"i16x8.extend_low_i8x16_s" ,
"i16x8.extend_high_i8x16_s" ,
"i16x8.extend_low_i8x16_u" ,
"i16x8.extend_high_i8x16_u" ,
"i16x8.shl" ,
"i16x8.shr_s" ,
"i16x8.shr_u" ,
"i16x8.add" ,
"i16x8.add_sat_s" ,
"i16x8.add_sat_u" ,
"i16x8.sub" ,
"i16x8.sub_sat_s" ,
"i16x8.sub_sat_u" ,
"f64x2.nearest" ,
"i16x8.mul" ,
"i16x8.min_s" ,
"i16x8.min_u" ,
"i16x8.max_s" ,
"i16x8.max_u" ,
undefined,
"i16x8.avgr_u" ,
"i16x8.extmul_low_i8x16_s" ,
"i16x8.extmul_high_i8x16_s" ,
"i16x8.extmul_low_i8x16_u" ,
"i16x8.extmul_high_i8x16_u" ,
"i32x4.abs" ,
"i32x4.neg" ,
undefined,
"i32x4.all_true" ,
"i32x4.bitmask" ,
undefined,
undefined,
"i32x4.extend_low_i16x8_s" ,
"i32x4.extend_high_i16x8_s" ,
"i32x4.extend_low_i16x8_u" ,
"i32x4.extend_high_i16x8_u" ,
"i32x4.shl" ,
"i32x4.shr_s" ,
"i32x4.shr_u" ,
"i32x4.add" ,
undefined,
undefined,
"i32x4.sub" ,
undefined,
undefined,
undefined,
"i32x4.mul" ,
"i32x4.min_s" ,
"i32x4.min_u" ,
"i32x4.max_s" ,
"i32x4.max_u" ,
"i32x4.dot_i16x8_s" ,
undefined,
"i32x4.extmul_low_i16x8_s" ,
"i32x4.extmul_high_i16x8_s" ,
"i32x4.extmul_low_i16x8_u" ,
"i32x4.extmul_high_i16x8_u" ,
"i64x2.abs" ,
"i64x2.neg" ,
undefined,
"i64x2.all_true" ,
"i64x2.bitmask" ,
undefined,
undefined,
"i64x2.extend_low_i32x4_s" ,
"i64x2.extend_high_i32x4_s" ,
"i64x2.extend_low_i32x4_u" ,
"i64x2.extend_high_i32x4_u" ,
"i64x2.shl" ,
"i64x2.shr_s" ,
"i64x2.shr_u" ,
"i64x2.add" ,
undefined,
undefined,
"i64x2.sub" ,
undefined,
undefined,
undefined,
"i64x2.mul" ,
"i64x2.eq" ,
"i64x2.ne" ,
"i64x2.lt_s" ,
"i64x2.gt_s" ,
"i64x2.le_s" ,
"i64x2.ge_s" ,
"i64x2.extmul_low_i32x4_s" ,
"i64x2.extmul_high_i32x4_s" ,
"i64x2.extmul_low_i32x4_u" ,
"i64x2.extmul_high_i32x4_u" ,
"f32x4.abs" ,
"f32x4.neg" ,
undefined,
"f32x4.sqrt" ,
"f32x4.add" ,
"f32x4.sub" ,
"f32x4.mul" ,
"f32x4.div" ,
"f32x4.min" ,
"f32x4.max" ,
"f32x4.pmin" ,
"f32x4.pmax" ,
"f64x2.abs" ,
"f64x2.neg" ,
undefined,
"f64x2.sqrt" ,
"f64x2.add" ,
"f64x2.sub" ,
"f64x2.mul" ,
"f64x2.div" ,
"f64x2.min" ,
"f64x2.max" ,
"f64x2.pmin" ,
"f64x2.pmax" ,
"i32x4.trunc_sat_f32x4_s" ,
"i32x4.trunc_sat_f32x4_u" ,
"f32x4.convert_i32x4_s" ,
"f32x4.convert_i32x4_u" ,
"i32x4.trunc_sat_f64x2_s_zero" ,
"i32x4.trunc_sat_f64x2_u_zero" ,
"f64x2.convert_low_i32x4_s" ,
"f64x2.convert_low_i32x4_u" ,
"i8x16.relaxed_swizzle" ,
"i32x4.relaxed_trunc_f32x4_s" ,
"i32x4.relaxed_trunc_f32x4_u" ,
"i32x4.relaxed_trunc_f64x2_s_zero" ,
"i32x4.relaxed_trunc_f64x2_u_zero" ,
"f32x4.relaxed_madd" ,
"f32x4.relaxed_nmadd" ,
"f64x2.relaxed_madd" ,
"f64x2.relaxed_nmadd" ,
"i8x16.relaxed_laneselect" ,
"i16x8.relaxed_laneselect" ,
"i32x4.relaxed_laneselect" ,
"i64x2.relaxed_laneselect" ,
"f32x4.relaxed_min" ,
"f32x4.relaxed_max" ,
"f64x2.relaxed_min" ,
"f64x2.relaxed_max" ,
"i16x8.relaxed_q15mulr_s" ,
"i16x8.relaxed_dot_i8x16_i7x16_s" ,
"i32x4.relaxed_dot_i8x16_i7x16_add_s" ,
].forEach(function (s, i) {
exports.OperatorCodeNames[0xfd000 | i] = s;
});
[
"memory.atomic.notify" ,
"memory.atomic.wait32" ,
"memory.atomic.wait64" ,
"atomic.fence" ,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
"i32.atomic.load" ,
"i64.atomic.load" ,
"i32.atomic.load8_u" ,
"i32.atomic.load16_u" ,
"i64.atomic.load8_u" ,
"i64.atomic.load16_u" ,
"i64.atomic.load32_u" ,
"i32.atomic.store" ,
"i64.atomic.store" ,
"i32.atomic.store8" ,
"i32.atomic.store16" ,
"i64.atomic.store8" ,
"i64.atomic.store16" ,
"i64.atomic.store32" ,
"i32.atomic.rmw.add" ,
"i64.atomic.rmw.add" ,
"i32.atomic.rmw8.add_u" ,
"i32.atomic.rmw16.add_u" ,
"i64.atomic.rmw8.add_u" ,
"i64.atomic.rmw16.add_u" ,
"i64.atomic.rmw32.add_u" ,
"i32.atomic.rmw.sub" ,
"i64.atomic.rmw.sub" ,
"i32.atomic.rmw8.sub_u" ,
"i32.atomic.rmw16.sub_u" ,
"i64.atomic.rmw8.sub_u" ,
"i64.atomic.rmw16.sub_u" ,
"i64.atomic.rmw32.sub_u" ,
"i32.atomic.rmw.and" ,
"i64.atomic.rmw.and" ,
"i32.atomic.rmw8.and_u" ,
"i32.atomic.rmw16.and_u" ,
"i64.atomic.rmw8.and_u" ,
"i64.atomic.rmw16.and_u" ,
"i64.atomic.rmw32.and_u" ,
"i32.atomic.rmw.or" ,
"i64.atomic.rmw.or" ,
"i32.atomic.rmw8.or_u" ,
"i32.atomic.rmw16.or_u" ,
"i64.atomic.rmw8.or_u" ,
"i64.atomic.rmw16.or_u" ,
"i64.atomic.rmw32.or_u" ,
"i32.atomic.rmw.xor" ,
"i64.atomic.rmw.xor" ,
"i32.atomic.rmw8.xor_u" ,
"i32.atomic.rmw16.xor_u" ,
"i64.atomic.rmw8.xor_u" ,
"i64.atomic.rmw16.xor_u" ,
"i64.atomic.rmw32.xor_u" ,
"i32.atomic.rmw.xchg" ,
"i64.atomic.rmw.xchg" ,
"i32.atomic.rmw8.xchg_u" ,
"i32.atomic.rmw16.xchg_u" ,
"i64.atomic.rmw8.xchg_u" ,
"i64.atomic.rmw16.xchg_u" ,
"i64.atomic.rmw32.xchg_u" ,
"i32.atomic.rmw.cmpxchg" ,
"i64.atomic.rmw.cmpxchg" ,
"i32.atomic.rmw8.cmpxchg_u" ,
"i32.atomic.rmw16.cmpxchg_u" ,
"i64.atomic.rmw8.cmpxchg_u" ,
"i64.atomic.rmw16.cmpxchg_u" ,
"i64.atomic.rmw32.cmpxchg_u" ,
].forEach(function (s, i) {
exports.OperatorCodeNames[0xfe00 | i] = s;
});
[
"struct.new" ,
"struct.new_default" ,
"struct.get" ,
"struct.get_s" ,
"struct.get_u" ,
"struct.set" ,
"array.new" ,
"array.new_default" ,
"array.new_fixed" ,
"array.new_data" ,
"array.new_elem" ,
"array.get" ,
"array.get_s" ,
"array.get_u" ,
"array.set" ,
"array.len" ,
"array.fill" ,
"array.copy" ,
"array.init_data" ,
"array.init_elem" ,
"ref.test" ,
"ref.test" ,
"ref.cast" ,
"ref.cast" ,
"br_on_cast" ,
"br_on_cast_fail" ,
"any.convert_extern" ,
"extern.convert_any" ,
"ref.i31" ,
"i31.get_s" ,
"i31.get_u" ,
].forEach(function (s, i) {
exports.OperatorCodeNames[0xfb00 | i] = s;
});
var ExternalKind;
(function (ExternalKind) {
ExternalKind[ExternalKind["Function" ] = 0] = "Function" ;
ExternalKind[ExternalKind["Table" ] = 1] = "Table" ;
ExternalKind[ExternalKind["Memory" ] = 2] = "Memory" ;
ExternalKind[ExternalKind["Global" ] = 3] = "Global" ;
ExternalKind[ExternalKind["Tag" ] = 4] = "Tag" ;
})(ExternalKind = exports.ExternalKind || (exports.ExternalKind = {}));
var TypeKind;
(function (TypeKind) {
TypeKind[TypeKind["unspecified" ] = 0] = "unspecified" ;
TypeKind[TypeKind["i32" ] = -1] = "i32" ;
TypeKind[TypeKind["i64" ] = -2] = "i64" ;
TypeKind[TypeKind["f32" ] = -3] = "f32" ;
TypeKind[TypeKind["f64" ] = -4] = "f64" ;
TypeKind[TypeKind["v128" ] = -5] = "v128" ;
TypeKind[TypeKind["i8" ] = -8] = "i8" ;
TypeKind[TypeKind["i16" ] = -9] = "i16" ;
TypeKind[TypeKind["nullexnref" ] = -12] = "nullexnref" ;
TypeKind[TypeKind["nullfuncref" ] = -13] = "nullfuncref" ;
TypeKind[TypeKind["nullref" ] = -15] = "nullref" ;
TypeKind[TypeKind["nullexternref" ] = -14] = "nullexternref" ;
TypeKind[TypeKind["funcref" ] = -16] = "funcref" ;
TypeKind[TypeKind["externref" ] = -17] = "externref" ;
TypeKind[TypeKind["anyref" ] = -18] = "anyref" ;
TypeKind[TypeKind["eqref" ] = -19] = "eqref" ;
TypeKind[TypeKind["i31ref" ] = -20] = "i31ref" ;
TypeKind[TypeKind["structref" ] = -21] = "structref" ;
TypeKind[TypeKind["arrayref" ] = -22] = "arrayref" ;
TypeKind[TypeKind["exnref" ] = -23] = "exnref" ;
TypeKind[TypeKind["ref" ] = -28] = "ref" ;
TypeKind[TypeKind["ref_null" ] = -29] = "ref_null" ;
TypeKind[TypeKind["func" ] = -32] = "func" ;
TypeKind[TypeKind["struct" ] = -33] = "struct" ;
TypeKind[TypeKind["array" ] = -34] = "array" ;
TypeKind[TypeKind["subtype" ] = -48] = "subtype" ;
TypeKind[TypeKind["subtype_final" ] = -49] = "subtype_final" ;
TypeKind[TypeKind["rec_group" ] = -50] = "rec_group" ;
TypeKind[TypeKind["empty_block_type" ] = -64] = "empty_block_type" ;
})(TypeKind = exports.TypeKind || (exports.TypeKind = {}));
var FieldDef = /** @class */ (function () {
function FieldDef() {
}
return FieldDef;
}());
exports.FieldDef = FieldDef;
var FuncDef = /** @class */ (function () {
function FuncDef() {
}
return FuncDef;
}());
exports.FuncDef = FuncDef;
var Type = exports.Type = /** @class */ (function () {
function Type(code) {
this .code = code;
}
Object.defineProperty(Type.prototype, "isIndex" , {
get: function () {
return this .code >= 0;
},
enumerable: false ,
configurable: true
});
Object.defineProperty(Type.prototype, "kind" , {
get: function () {
return this .code >= 0 ? 0 /* TypeKind.unspecified */ : this.code;
},
enumerable: false ,
configurable: true
});
Object.defineProperty(Type.prototype, "index" , {
get: function () {
return this .code < 0 ? -1 : this .code;
},
enumerable: false ,
configurable: true
});
// Convenience singletons.
Type.funcref = new Type(-16 /* TypeKind.funcref */);
Type.externref = new Type(-17 /* TypeKind.externref */);
Type.exnref = new Type(-23 /* TypeKind.exnref */);
return Type;
}());
var RefType = /** @class */ (function (_super) {
__extends (RefType, _super );
function RefType(kind, ref_index) {
var _this = this ;
if (kind != -28 /* TypeKind.ref */ && kind !== -29 /* TypeKind.ref_null */) {
throw new Error("Unexpected type kind: " .concat(kind, "}" ));
}
_this = _super .call(this , kind) || this ;
_this .ref_index = ref_index;
return _this ;
}
Object.defineProperty(RefType.prototype, "isNullable" , {
get: function () {
return this .kind == -29 /* TypeKind.ref_null */;
},
enumerable: false ,
configurable: true
});
return RefType;
}(Type));
exports.RefType = RefType;
var CatchHandlerKind;
(function (CatchHandlerKind) {
CatchHandlerKind[CatchHandlerKind["Catch" ] = 0] = "Catch" ;
CatchHandlerKind[CatchHandlerKind["CatchRef" ] = 1] = "CatchRef" ;
CatchHandlerKind[CatchHandlerKind["CatchAll" ] = 2] = "CatchAll" ;
CatchHandlerKind[CatchHandlerKind["CatchAllRef" ] = 3] = "CatchAllRef" ;
})(CatchHandlerKind = exports.CatchHandlerKind || (exports.CatchHandlerKind = {}));
var CatchHandler = /** @class */ (function () {
function CatchHandler() {
}
return CatchHandler;
}());
exports.CatchHandler = CatchHandler;
var RelocType;
(function (RelocType) {
RelocType[RelocType["FunctionIndex_LEB" ] = 0] = "FunctionIndex_LEB" ;
RelocType[RelocType["TableIndex_SLEB" ] = 1] = "TableIndex_SLEB" ;
RelocType[RelocType["TableIndex_I32" ] = 2] = "TableIndex_I32" ;
RelocType[RelocType["GlobalAddr_LEB" ] = 3] = "GlobalAddr_LEB" ;
RelocType[RelocType["GlobalAddr_SLEB" ] = 4] = "GlobalAddr_SLEB" ;
RelocType[RelocType["GlobalAddr_I32" ] = 5] = "GlobalAddr_I32" ;
RelocType[RelocType["TypeIndex_LEB" ] = 6] = "TypeIndex_LEB" ;
RelocType[RelocType["GlobalIndex_LEB" ] = 7] = "GlobalIndex_LEB" ;
--> --------------------
--> maximum size reached
--> --------------------
Messung V0.5 C=93 H=98 G=95
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet)
¤
*© Formatika GbR, Deutschland