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-github-f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5.tar.gz
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 @@
/*
-** $Id: lopcodes.h,v 1.55 2000/04/07 13:12:50 roberto Exp roberto $
+** $Id: lopcodes.h,v 1.56 2000/04/07 19:35:31 roberto Exp roberto $
** Opcodes for Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -148,6 +148,9 @@ OP_JMP,/* J - - PC+=s */
OP_PUSHNILJMP,/* - - nil PC++; */
+OP_FORPREP,/* J */
+OP_FORLOOP,/* J */
+
OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */
OP_SETLINE/* U - - LINE=u */