From 054ff1f29e87ef5d01657027aa1148e4d65f7469 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 4 Apr 1991 10:45:01 +0000 Subject: Added opcodes to load local/global variables --- Include/opcode.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Include/opcode.h b/Include/opcode.h index b069e45..7edf661 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -97,6 +97,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #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 /* "" */ -- cgit v0.12