]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added opcodes to load local/global variables
authorGuido van Rossum <guido@python.org>
Thu, 4 Apr 1991 10:45:01 +0000 (10:45 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 4 Apr 1991 10:45:01 +0000 (10:45 +0000)
Include/opcode.h

index b069e45464ae28cdc4f34ee54a35a2b066afe58d..7edf6616f6161605909375eb7d1ec1f94abaa152 100644 (file)
@@ -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     /* "" */