summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-12 15:57:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-12 15:57:19 -0300
commitf9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5 (patch)
tree7bed49a7ff5c730cdfdef7c3a43b71e039d4442b /lopcodes.h
parent0c3fe2c44be155b11b52230e36f45e688bae5ce2 (diff)
downloadlua-f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5.tar.gz
lua-f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5.tar.bz2
lua-f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5.zip
first implementation of FOR
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index a40fcbde..91c74759 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.55 2000/04/07 13:12:50 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.56 2000/04/07 19:35:31 roberto Exp roberto $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -148,6 +148,9 @@ OP_JMP,/* J - - PC+=s */
148 148
149OP_PUSHNILJMP,/* - - nil PC++; */ 149OP_PUSHNILJMP,/* - - nil PC++; */
150 150
151OP_FORPREP,/* J */
152OP_FORLOOP,/* J */
153
151OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ 154OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */
152 155
153OP_SETLINE/* U - - LINE=u */ 156OP_SETLINE/* U - - LINE=u */