diff options
Diffstat (limited to 'src/interpreter-opcode.def')
-rw-r--r-- | src/interpreter-opcode.def | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/interpreter-opcode.def b/src/interpreter-opcode.def deleted file mode 100644 index b2d2b0a0..00000000 --- a/src/interpreter-opcode.def +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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 prefix code Name text - * ============================================================ */ - -#include "src/opcode.def" -WABT_OPCODE(___, ___, ___, 0, 0, 0xc0, Alloca, "alloca") -WABT_OPCODE(___, ___, ___, 0, 0, 0xc1, BrUnless, "br_unless") -WABT_OPCODE(___, ___, ___, 0, 0, 0xc2, CallHost, "call_host") -WABT_OPCODE(___, ___, ___, 0, 0, 0xc3, Data, "data") -WABT_OPCODE(___, ___, ___, 0, 0, 0xc4, DropKeep, "drop_keep") |