summaryrefslogtreecommitdiff
path: root/Include/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 0043cc2d20..2789525594 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -190,6 +190,10 @@ static uint32_t _PyOpcode_Jump[8] = {
};
#endif /* OPCODE_TABLES */
+#define HAS_CONST(op) (false\
+ || ((op) == 100) \
+ )
+
#define HAS_ARG(op) ((op) >= HAVE_ARGUMENT)
/* Reserve some bytecodes for internal use in the compiler.