diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-16 08:59:34 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-16 08:59:34 -0200 |
commit | 45ccb0e881064492a3f422b15b50dad71eed36fa (patch) | |
tree | d819206b4af4fb9a257534471455ce233c1c93e3 /lopcodes.h | |
parent | 4be18fa889657ebd317f5311ecf65da64891242b (diff) | |
download | lua-45ccb0e881064492a3f422b15b50dad71eed36fa.tar.gz lua-45ccb0e881064492a3f422b15b50dad71eed36fa.tar.bz2 lua-45ccb0e881064492a3f422b15b50dad71eed36fa.zip |
"nupvalues" is kept in Closure, not in prototype (as a preparation
for C closures...)
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.h,v 1.7 1997/10/06 14:51:11 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.8 1997/10/13 22:12:04 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 | */ |
@@ -135,8 +135,9 @@ IFTUPJMPW,/* w x - (x!=nil)? PC-=w */ | |||
135 | IFFUPJMP,/* b x - (x==nil)? PC-=b */ | 135 | IFFUPJMP,/* b x - (x==nil)? PC-=b */ |
136 | IFFUPJMPW,/* w x - (x==nil)? PC-=w */ | 136 | IFFUPJMPW,/* w x - (x==nil)? PC-=w */ |
137 | 137 | ||
138 | CLOSURE,/* b v_1...v_n c(CNST[b]) */ | 138 | CLOSURE,/* b v_b...v_1 prt c(prt) */ |
139 | CLOSUREW,/* w v_1...v_n c(CNST[w]) */ | 139 | CLOSURE0,/* b prt c(prt) */ |
140 | CLOSURE1,/* b v_1 prt c(prt) */ | ||
140 | 141 | ||
141 | CALLFUNC,/* b c v_c...v_1 f r_b...r_1 f(v1,...,v_c) */ | 142 | CALLFUNC,/* b c v_c...v_1 f r_b...r_1 f(v1,...,v_c) */ |
142 | CALLFUNC0,/* b v_b...v_1 f - f(v1,...,v_b) */ | 143 | CALLFUNC0,/* b v_b...v_1 f - f(v1,...,v_b) */ |