Mercurial > cpython-lru_cache-weakref
diff Include/opcode.h @ 178:fb6367d5ff46 legacy-trunk
Added opcodes to load local/global variables
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 04 Apr 1991 10:45:01 +0000 |
| parents | 853b736a6a9e |
| children | b5fe6482072f |
line wrap: on
line diff
--- a/Include/opcode.h Thu Apr 04 10:44:06 1991 +0000 +++ b/Include/opcode.h Thu Apr 04 10:45:01 1991 +0000 @@ -97,6 +97,9 @@ #define JUMP_ABSOLUTE 113 /* Target byte offset from beginning of code */ #define FOR_LOOP 114 /* Number of bytes to skip */ +#define LOAD_LOCAL 115 /* Index in name list */ +#define LOAD_GLOBAL 116 /* Index in name list */ + #define SETUP_LOOP 120 /* Target address (absolute) */ #define SETUP_EXCEPT 121 /* "" */ #define SETUP_FINALLY 122 /* "" */
