summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-04-04 10:45:01 (GMT)
committerGuido van Rossum <guido@python.org>1991-04-04 10:45:01 (GMT)
commit054ff1f29e87ef5d01657027aa1148e4d65f7469 (patch)
treee802599a237747245b72d962af8244db42f95ca4 /Include/opcode.h
parenteb183da74fa48b51695732294a90897c5ec5c850 (diff)
downloadcpython-054ff1f29e87ef5d01657027aa1148e4d65f7469.zip
cpython-054ff1f29e87ef5d01657027aa1148e4d65f7469.tar.gz
cpython-054ff1f29e87ef5d01657027aa1148e4d65f7469.tar.bz2
Added opcodes to load local/global variables
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h3
1 files changed, 3 insertions, 0 deletions
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 /* "" */