diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-02-07 10:28:27 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-02-07 10:28:27 -0200 |
| commit | f8d677f94c3b4309be94698d33aeb0590a51eabc (patch) | |
| tree | 139b3adda71ce4b345005da99acd059a4b883e39 /lopcodes.h | |
| parent | 094a7d0290bbbe248d9d29b28c2567283d5ad0ba (diff) | |
| download | lua-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -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 | ||
| 217 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ | 217 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ |
| 218 | 218 | ||
| 219 | OP_CLOSE,/* A close all upvalues >= R(A) */ | ||
| 220 | OP_CLOSURE,/* A Bx R(A) := closure(KPROTO[Bx]) */ | 219 | OP_CLOSURE,/* A Bx R(A) := closure(KPROTO[Bx]) */ |
| 221 | 220 | ||
| 222 | OP_VARARG,/* A B R(A), R(A+1), ..., R(A+B-2) = vararg */ | 221 | OP_VARARG,/* A B R(A), R(A+1), ..., R(A+B-2) = vararg */ |
