From: Guido van Rossum Date: Mon, 16 Dec 1991 13:09:28 +0000 (+0000) Subject: New opcodes: UNPACK_ARG, STORE_GLOBAL, DELETE_GLOBAL, LOAD_LOCAL, LOAD_GLOBAL X-Git-Tag: v0.9.8~693 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a594fabbfae0853b1261d53caa8281fb7e8fa370;p=thirdparty%2FPython%2Fcpython.git New opcodes: UNPACK_ARG, STORE_GLOBAL, DELETE_GLOBAL, LOAD_LOCAL, LOAD_GLOBAL --- diff --git a/Lib/dis.py b/Lib/dis.py index fe57fb954cf6..7eaaeaf26052 100644 --- a/Lib/dis.py +++ b/Lib/dis.py @@ -147,9 +147,11 @@ name_op('STORE_NAME', 90) # Index in name list name_op('DELETE_NAME', 91) # "" def_op('UNPACK_TUPLE', 92) # Number of tuple items def_op('UNPACK_LIST', 93) # Number of list items -# unused: 94 +def_op('UNPACK_ARG', 94) # Number of arguments expected name_op('STORE_ATTR', 95) # Index in name list -name_op('DELETE_ATTR', 96) # "" +name_op('DELETE_ATTR', 96) # "" +name_op('STORE_GLOBAL', 97) # "" +name_op('DELETE_GLOBAL', 98) # "" def_op('LOAD_CONST', 100) # Index in const list hasconst.append(100) @@ -168,6 +170,9 @@ jrel_op('JUMP_IF_TRUE', 112) # "" jabs_op('JUMP_ABSOLUTE', 113) # Target byte offset from beginning of code jrel_op('FOR_LOOP', 114) # Number of bytes to skip +name_op('LOAD_LOCAL', 115) # Index in name list +name_op('LOAD_GLOBAL', 116) # Index in name list + jrel_op('SETUP_LOOP', 120) # Distance to target address jrel_op('SETUP_EXCEPT', 121) # "" jrel_op('SETUP_FINALLY', 122) # ""