/* * Copyright 2017 WebAssembly Community Group participants * * 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. */ #ifndef WABT_OPCODE #error "You must define WABT_OPCODE before including this file." #endif /* * tr: result type * t1: type of the 1st parameter * t2: type of the 2nd parameter * m: memory size of the operation, if any * code: opcode * Name: used to generate the opcode enum * text: a string of the opcode name in the text format * * tr t1 t2 m code Name text * ============================================================ */ #include "opcode.def" WABT_OPCODE(___, ___, ___, 0, 0xc0, Alloca, "alloca") WABT_OPCODE(___, ___, ___, 0, 0xc1, BrUnless, "br_unless") WABT_OPCODE(___, ___, ___, 0, 0xc2, CallHost, "call_host") WABT_OPCODE(___, ___, ___, 0, 0xc3, Data, "data") WABT_OPCODE(___, ___, ___, 0, 0xc4, DropKeep, "drop_keep")