aboutsummaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-01-25 19:50:39 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-01-25 19:50:39 -0200
commit74907fb71e69949d63d94c4c12b80938c974a6df (patch)
tree6093d5e5af4870fe2600eff5815d5db96969c979 /lparser.h
parentb38e594ed738238d352bb5344446ef07d15510b4 (diff)
downloadlua-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.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lparser.h b/lparser.h
index 70c44543..08e87454 100644
--- a/lparser.h
+++ b/lparser.h
@@ -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
49typedef struct expdesc { 48typedef 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;