Refine opcodes OP_LIST macro. Removed ambiguous lists of opcodes in several files. The only list is in opcodes.h

This commit is contained in:
e.gavrin
2014-08-23 00:13:42 +04:00
parent d4a9d9430e
commit d80cb10361
6 changed files with 130 additions and 308 deletions
+2 -2
View File
@@ -18,8 +18,8 @@
#define NAME_TO_ID(op) (__op__idx_##op)
#define OPCODE_SIZE(op) \
sizeof (__op_##op) + 1,
#define __OPCODE_SIZE(name, arg1, arg2, arg3) \
sizeof (__op_##name) + 1,
static uint8_t opcode_sizes[] = {
OP_LIST (OPCODE_SIZE)