diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-08 15:07:59 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-08 15:07:59 -0200 |
| commit | fb1cf6ab2d12bd61e3d429830ab20d4ff3c39fd9 (patch) | |
| tree | 20aa6d78060600e477164e8d032fd8c33aa7c6d4 /lopcodes.h | |
| parent | 19ca2087de4002600b891cf78b3c9b1d939ba2ca (diff) | |
| download | lua-fb1cf6ab2d12bd61e3d429830ab20d4ff3c39fd9.tar.gz lua-fb1cf6ab2d12bd61e3d429830ab20d4ff3c39fd9.tar.bz2 lua-fb1cf6ab2d12bd61e3d429830ab20d4ff3c39fd9.zip | |
clearer way to set tables.
Diffstat (limited to 'lopcodes.h')
| -rw-r--r-- | lopcodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.h,v 1.20 1999/02/02 19:41:17 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.21 1999/02/04 16:36:16 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 | */ |
| @@ -55,8 +55,8 @@ SETGLOBAL,/* b x - VAR[CNST[b]]=x */ | |||
| 55 | SETGLOBALDUPW,/*w x x VAR[CNST[w]]=x */ | 55 | SETGLOBALDUPW,/*w x x VAR[CNST[w]]=x */ |
| 56 | SETGLOBALDUP,/* b x x VAR[CNST[b]]=x */ | 56 | SETGLOBALDUP,/* b x x VAR[CNST[b]]=x */ |
| 57 | 57 | ||
| 58 | SETTABLE0,/* - v i t - t[i]=v */ | 58 | SETTABLEPOP,/* - v i t - t[i]=v */ |
| 59 | SETTABLEDUP,/* - v i t v t[i]=v */ | 59 | SETTABPPDUP,/* - v i t v t[i]=v */ |
| 60 | 60 | ||
| 61 | SETTABLE,/* b v a_b...a_1 i t a_b...a_1 i t t[i]=v */ | 61 | SETTABLE,/* b v a_b...a_1 i t a_b...a_1 i t t[i]=v */ |
| 62 | 62 | ||
