summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-28 10:20:07 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-28 10:20:07 -0200
commit77077b39d59aa50bd64c7b7c5e660c6e187d11f2 (patch)
tree064e7a8949790985624d859ccc12f9be52508181 /lopcodes.h
parent5bc91c640588ca77b9f84146fc88fcc9bdbfbcd1 (diff)
downloadlua-77077b39d59aa50bd64c7b7c5e660c6e187d11f2.tar.gz
lua-77077b39d59aa50bd64c7b7c5e660c6e187d11f2.tar.bz2
lua-77077b39d59aa50bd64c7b7c5e660c6e187d11f2.zip
comment explaining OP_VARARG was wrong (and corresponding code was not
very clear)
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 41910d1b..77da09aa 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.130 2009/09/23 20:33:05 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.131 2009/09/28 16:32:50 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*/
@@ -217,7 +217,7 @@ OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */
217OP_CLOSE,/* A close all variables in the stack up to (>=) R(A)*/ 217OP_CLOSE,/* A close all variables in the stack up to (>=) R(A)*/
218OP_CLOSURE,/* A Bx R(A) := closure(KPROTO[Bx]) */ 218OP_CLOSURE,/* A Bx R(A) := closure(KPROTO[Bx]) */
219 219
220OP_VARARG,/* A B R(A), R(A+1), ..., R(A+B-1) = vararg */ 220OP_VARARG,/* A B R(A), R(A+1), ..., R(A+B-2) = vararg */
221 221
222OP_TFORLOOP,/* A sBx if R(A+1) ~= nil then { R(A)=R(A+1); pc += sBx }*/ 222OP_TFORLOOP,/* A sBx if R(A+1) ~= nil then { R(A)=R(A+1); pc += sBx }*/
223 223