summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-03-14 16:04:44 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-03-14 16:04:44 -0300
commitae76307847efa83df131fd9ad3180982131b8c72 (patch)
tree0b410114be1ea559a6bf98b695e09bbe83b4b3eb
parent3d61c31e5ad099952b20a31424a725c767150ba8 (diff)
downloadlua-ae76307847efa83df131fd9ad3180982131b8c72.tar.gz
lua-ae76307847efa83df131fd9ad3180982131b8c72.tar.bz2
lua-ae76307847efa83df131fd9ad3180982131b8c72.zip
comment
-rw-r--r--lopcodes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 376505d1..dd811cac 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.123 2005/10/23 17:37:55 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.124 2005/12/02 18:42:08 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*/
@@ -197,8 +197,8 @@ OP_FORLOOP,/* A sBx R(A)+=R(A+2);
197 if R(A) <?= R(A+1) then { pc+=sBx; R(A+3)=R(A) }*/ 197 if R(A) <?= R(A+1) then { pc+=sBx; R(A+3)=R(A) }*/
198OP_FORPREP,/* A sBx R(A)-=R(A+2); pc+=sBx */ 198OP_FORPREP,/* A sBx R(A)-=R(A+2); pc+=sBx */
199 199
200OP_TFORLOOP,/* A C R(A+3), ... ,R(A+3+C) := R(A)(R(A+1), R(A+2)); 200OP_TFORLOOP,/* A C R(A+3), ... ,R(A+2+C) := R(A)(R(A+1), R(A+2));
201 if R(A+3) ~= nil then { pc++; R(A+2)=R(A+3); } */ 201 if R(A+3) ~= nil then R(A+2)=R(A+3) else pc++ */
202OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ 202OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */
203 203
204OP_CLOSE,/* A close all variables in the stack up to (>=) R(A)*/ 204OP_CLOSE,/* A close all variables in the stack up to (>=) R(A)*/