summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-09-28 13:32:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-09-28 13:32:50 -0300
commit5938212748636d21d6f4b372481ab3b6dd6c7538 (patch)
treefa5d0a28dac1ff6c087585bc684534eb1ae82298 /lopcodes.h
parent1829911d7c1c16cf01dfdbfc8e7a26cfa10ec797 (diff)
downloadlua-5938212748636d21d6f4b372481ab3b6dd6c7538.tar.gz
lua-5938212748636d21d6f4b372481ab3b6dd6c7538.tar.bz2
lua-5938212748636d21d6f4b372481ab3b6dd6c7538.zip
information about upvalues (where they come from) kept in Proto structure,
instead of sequence of pseudo-opcodes after OP_CLOSURE
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 866c1641..41910d1b 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.129 2009/03/09 15:27:56 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.130 2009/09/23 20:33:05 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*/
@@ -251,10 +251,6 @@ OP_EXTRAARG/* Ax extra (larger) argument for previous opcode */
251 251
252 (*) All `skips' (pc++) assume that next instruction is a jump. 252 (*) All `skips' (pc++) assume that next instruction is a jump.
253 253
254 (*) The OP_CLOSURE instruction is followed by a sequence of
255 instructions coding the upvalues: OP_MOVE A B if upvalue is local B,
256 or OP_GETUPVAL A B if upvalue is enclosing upvalue B.
257
258===========================================================================*/ 254===========================================================================*/
259 255
260 256