summaryrefslogtreecommitdiff
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-21 16:31:15 +0000
committerRaymond Hettinger <python@rcn.com>2004-06-21 16:31:15 +0000
commit56337ae78c5868887f4aed2af8c597af00bb88e7 (patch)
tree1797555235063c5b0c8be48c3663cf4d7de55372 /Include/opcode.h
parentd3f80d825a5831e33c9e078401b94f57e55df1fc (diff)
downloadcpython-56337ae78c5868887f4aed2af8c597af00bb88e7.tar.gz
Install two code generation optimizations that depend on NOP.
Reduces the cost of "not" to almost zero.
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 8df96b4f22..868512fe8d 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -13,6 +13,7 @@ extern "C" {
#define ROT_THREE 3
#define DUP_TOP 4
#define ROT_FOUR 5
+#define NOP 9
#define UNARY_POSITIVE 10
#define UNARY_NEGATIVE 11