diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-04 17:48:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-04 17:48:44 -0300 |
commit | 4e7e9e8de5b9e50694e161653ef03b5c15a53054 (patch) | |
tree | a908866ce0a34b591c92b67143ac581861aeb216 /llimits.h | |
parent | 3e45496295bef65692f690d1633a9ce6ad9408b0 (diff) | |
download | lua-4e7e9e8de5b9e50694e161653ef03b5c15a53054.tar.gz lua-4e7e9e8de5b9e50694e161653ef03b5c15a53054.tar.bz2 lua-4e7e9e8de5b9e50694e161653ef03b5c15a53054.zip |
new opcode INCLOCAL.
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.3 2000/03/27 20:08:33 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.4 2000/03/31 16:28:45 roberto Exp roberto $ |
3 | ** Limits, basic types, and some other "instalation-dependent" definitions | 3 | ** Limits, basic types, and some other "instalation-dependent" definitions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -69,14 +69,12 @@ typedef unsigned long Instruction; | |||
69 | 69 | ||
70 | #define SIZE_U (SIZE_INSTRUCTION-SIZE_OP) | 70 | #define SIZE_U (SIZE_INSTRUCTION-SIZE_OP) |
71 | #define POS_U SIZE_OP | 71 | #define POS_U SIZE_OP |
72 | #define SIZE_S (SIZE_INSTRUCTION-SIZE_OP) | ||
73 | #define POS_S SIZE_OP | ||
74 | #define POS_B SIZE_OP | 72 | #define POS_B SIZE_OP |
75 | #define SIZE_A (SIZE_INSTRUCTION-(SIZE_OP+SIZE_B)) | 73 | #define SIZE_A (SIZE_INSTRUCTION-(SIZE_OP+SIZE_B)) |
76 | #define POS_A (SIZE_OP+SIZE_B) | 74 | #define POS_A (SIZE_OP+SIZE_B) |
77 | 75 | ||
78 | #define MAXARG_U ((1<<SIZE_U)-1) | 76 | #define MAXARG_U ((1<<SIZE_U)-1) |
79 | #define MAXARG_S ((1<<(SIZE_S-1))-1) /* `S' is signed */ | 77 | #define MAXARG_S (MAXARG_U>>1) /* `S' is signed */ |
80 | #define MAXARG_A ((1<<SIZE_A)-1) | 78 | #define MAXARG_A ((1<<SIZE_A)-1) |
81 | #define MAXARG_B ((1<<SIZE_B)-1) | 79 | #define MAXARG_B ((1<<SIZE_B)-1) |
82 | 80 | ||