diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-25 19:50:39 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-25 19:50:39 -0200 |
| commit | 74907fb71e69949d63d94c4c12b80938c974a6df (patch) | |
| tree | 6093d5e5af4870fe2600eff5815d5db96969c979 /lparser.h | |
| parent | b38e594ed738238d352bb5344446ef07d15510b4 (diff) | |
| download | lua-74907fb71e69949d63d94c4c12b80938c974a6df.tar.gz lua-74907fb71e69949d63d94c4c12b80938c974a6df.tar.bz2 lua-74907fb71e69949d63d94c4c12b80938c974a6df.zip | |
OP_LOADINT can be done by OP_LOADK
Diffstat (limited to 'lparser.h')
| -rw-r--r-- | lparser.h | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -34,7 +34,6 @@ typedef enum { | |||
| 34 | VNIL, | 34 | VNIL, |
| 35 | VTRUE, | 35 | VTRUE, |
| 36 | VFALSE, | 36 | VFALSE, |
| 37 | VNUMBER, /* n = value */ | ||
| 38 | VK, /* info = index of constant in `k' */ | 37 | VK, /* info = index of constant in `k' */ |
| 39 | VLOCAL, /* info = local register */ | 38 | VLOCAL, /* info = local register */ |
| 40 | VUPVAL, /* info = index of upvalue in `upvalues' */ | 39 | VUPVAL, /* info = index of upvalue in `upvalues' */ |
| @@ -48,12 +47,7 @@ typedef enum { | |||
| 48 | 47 | ||
| 49 | typedef struct expdesc { | 48 | typedef struct expdesc { |
| 50 | expkind k; | 49 | expkind k; |
| 51 | union { | 50 | int info, aux; |
| 52 | struct { | ||
| 53 | int info, aux; | ||
| 54 | } i; | ||
| 55 | lua_Number n; | ||
| 56 | } u; | ||
| 57 | int t; /* patch list of `exit when true' */ | 51 | int t; /* patch list of `exit when true' */ |
| 58 | int f; /* patch list of `exit when false' */ | 52 | int f; /* patch list of `exit when false' */ |
| 59 | } expdesc; | 53 | } expdesc; |
