information about upvalues (where they come from) kept in Proto structure,

instead of sequence of pseudo-opcodes after OP_CLOSURE
This commit is contained in:
Roberto Ierusalimschy
2009-09-28 13:32:50 -03:00
parent 1829911d7c
commit 5938212748
14 changed files with 97 additions and 98 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lopcodes.h,v 1.129 2009/03/09 15:27:56 roberto Exp roberto $
** $Id: lopcodes.h,v 1.130 2009/09/23 20:33:05 roberto Exp roberto $
** Opcodes for Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -251,10 +251,6 @@ OP_EXTRAARG/* Ax extra (larger) argument for previous opcode */
(*) All `skips' (pc++) assume that next instruction is a jump.
(*) The OP_CLOSURE instruction is followed by a sequence of
instructions coding the upvalues: OP_MOVE A B if upvalue is local B,
or OP_GETUPVAL A B if upvalue is enclosing upvalue B.
===========================================================================*/