aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-02-07 10:28:27 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-02-07 10:28:27 -0200
commitf8d677f94c3b4309be94698d33aeb0590a51eabc (patch)
tree139b3adda71ce4b345005da99acd059a4b883e39 /lopcodes.h
parent094a7d0290bbbe248d9d29b28c2567283d5ad0ba (diff)
downloadlua-f8d677f94c3b4309be94698d33aeb0590a51eabc.tar.gz
lua-f8d677f94c3b4309be94698d33aeb0590a51eabc.tar.bz2
lua-f8d677f94c3b4309be94698d33aeb0590a51eabc.zip
no more 'OP_CLOSE' instructions (use jumps to close upvalues)
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index f606ab0a..9009b382 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.137 2010/10/25 12:24:55 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.138 2011/02/01 18:03:10 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*/
@@ -216,7 +216,6 @@ OP_TFORLOOP,/* A sBx if R(A+1) ~= nil then { R(A)=R(A+1); pc += sBx }*/
216 216
217OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ 217OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */
218 218
219OP_CLOSE,/* A close all upvalues >= R(A) */
220OP_CLOSURE,/* A Bx R(A) := closure(KPROTO[Bx]) */ 219OP_CLOSURE,/* A Bx R(A) := closure(KPROTO[Bx]) */
221 220
222OP_VARARG,/* A B R(A), R(A+1), ..., R(A+B-2) = vararg */ 221OP_VARARG,/* A B R(A), R(A+1), ..., R(A+B-2) = vararg */