From: Guido van Rossum Date: Thu, 4 Apr 1991 10:45:01 +0000 (+0000) Subject: Added opcodes to load local/global variables X-Git-Tag: v0.9.8~1005 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=054ff1f29e87ef5d01657027aa1148e4d65f7469;p=thirdparty%2FPython%2Fcpython.git Added opcodes to load local/global variables --- diff --git a/Include/opcode.h b/Include/opcode.h index b069e45464ae..7edf6616f616 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 /* "" */