Added opcodes to load local/global variables

This commit is contained in:
Guido van Rossum 1991-04-04 10:45:01 +00:00
parent eb183da74f
commit 054ff1f29e
1 changed files with 3 additions and 0 deletions

View 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 /* "" */