From 0864a6957fe4717c3ec40ceeb373b19614a18434 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 3 Oct 2017 23:34:28 +1100 Subject: [PATCH] py: Clean up unary and binary enum list to keep groups together. 2 non-bytecode binary ops (NOT_IN and IN_NOT) are moved out of the bytecode group, so this change will change the bytecode format. --- py/bc0.h | 4 ++-- py/runtime0.h | 36 +++++++++++++++++++-------------- py/showbc.c | 4 ++-- py/vmentrytable.h | 4 ++-- tests/cmdline/cmd_showbc.py.exp | 14 ++++++------- 5 files changed, 34 insertions(+), 28 deletions(-) diff --git a/py/bc0.h b/py/bc0.h index 38e23c0fde..70acfb0cac 100644 --- a/py/bc0.h +++ b/py/bc0.h @@ -113,7 +113,7 @@ #define MP_BC_LOAD_CONST_SMALL_INT_MULTI (0x70) // + N(64) #define MP_BC_LOAD_FAST_MULTI (0xb0) // + N(16) #define MP_BC_STORE_FAST_MULTI (0xc0) // + N(16) -#define MP_BC_UNARY_OP_MULTI (0xd0) // + op(