diff options
author | Raymond Hettinger <python@rcn.com> | 2004-06-21 16:31:15 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-06-21 16:31:15 +0000 |
commit | 56337ae78c5868887f4aed2af8c597af00bb88e7 (patch) | |
tree | 1797555235063c5b0c8be48c3663cf4d7de55372 /Include/opcode.h | |
parent | d3f80d825a5831e33c9e078401b94f57e55df1fc (diff) | |
download | cpython-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.h | 1 |
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 |