diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-25 15:52:29 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-25 15:52:29 -0300 |
| commit | 2a2b64d6ac2ea7839dac41cc84be1c7a5a18bee7 (patch) | |
| tree | bbacd86c6e92e3614dcd48b54846de5f4252f137 /lopcodes.h | |
| parent | daa937c043bb0ddb5f4bfe676f8ff13825a99651 (diff) | |
| download | lua-2a2b64d6ac2ea7839dac41cc84be1c7a5a18bee7.tar.gz lua-2a2b64d6ac2ea7839dac41cc84be1c7a5a18bee7.tar.bz2 lua-2a2b64d6ac2ea7839dac41cc84be1c7a5a18bee7.zip | |
opcode "CLOSURE" gets the prototipe (instead of a previous pushconstant)
Diffstat (limited to '')
| -rw-r--r-- | lopcodes.h | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.h,v 1.16 1998/03/10 17:15:05 roberto Exp $ | 2 | ** $Id: lopcodes.h,v 1.16 1998/03/11 13:59:50 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 | */ |
| @@ -154,9 +154,8 @@ IFTUPJMPW,/* w x - (x!=nil)? PC-=w */ | |||
| 154 | IFFUPJMP,/* b x - (x==nil)? PC-=b */ | 154 | IFFUPJMP,/* b x - (x==nil)? PC-=b */ |
| 155 | IFFUPJMPW,/* w x - (x==nil)? PC-=w */ | 155 | IFFUPJMPW,/* w x - (x==nil)? PC-=w */ |
| 156 | 156 | ||
| 157 | CLOSURE,/* b proto v_b...v_1 c(proto) */ | 157 | CLOSURE,/* b c v_c...v_1 closure(CNST[b], v_c...v_1) */ |
| 158 | CLOSURE0,/* - proto c(proto) */ | 158 | CLOSUREW,/* w b v_b...v_1 closure(CNST[w], v_b...v_1) */ |
| 159 | CLOSURE1,/* - proto v_1 c(proto) */ | ||
| 160 | 159 | ||
| 161 | CALLFUNC,/* b c v_c...v_1 f r_b...r_1 f(v1,...,v_c) */ | 160 | CALLFUNC,/* b c v_c...v_1 f r_b...r_1 f(v1,...,v_c) */ |
| 162 | CALLFUNC0,/* b v_b...v_1 f - f(v1,...,v_b) */ | 161 | CALLFUNC0,/* b v_b...v_1 f - f(v1,...,v_b) */ |
