diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:43:01 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:43:01 -0200 |
commit | 1c423d266180a37fa00d433ec769b1420d591ba7 (patch) | |
tree | 65cd8e6da2a58b3f39942fefb6bd9df3adabdb96 /llimits.h | |
parent | b3ffaca6381cb5520721af13fff558d3b27d3a36 (diff) | |
download | lua-1c423d266180a37fa00d433ec769b1420d591ba7.tar.gz lua-1c423d266180a37fa00d433ec769b1420d591ba7.tar.bz2 lua-1c423d266180a37fa00d433ec769b1420d591ba7.zip |
LFIELDS_PER_FLUSH is an opcode detail
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -66,10 +66,8 @@ typedef unsigned char lu_byte; | |||
66 | ** conversion of pointer to integer | 66 | ** conversion of pointer to integer |
67 | ** this is for hashing only; there is no problem if the integer | 67 | ** this is for hashing only; there is no problem if the integer |
68 | ** cannot hold the whole pointer value | 68 | ** cannot hold the whole pointer value |
69 | ** (the shift removes bits that are usually 0 because of alignment) | ||
70 | */ | 69 | */ |
71 | #define IntPoint(p) ((((lu_hash)(p)) >> 4) ^ (lu_hash)(p)) | 70 | #define IntPoint(p) ((lu_hash)(p)) |
72 | |||
73 | 71 | ||
74 | 72 | ||
75 | 73 | ||
@@ -110,10 +108,5 @@ typedef unsigned long Instruction; | |||
110 | #endif | 108 | #endif |
111 | 109 | ||
112 | 110 | ||
113 | /* number of list items to accumulate before a SETLIST instruction */ | ||
114 | /* (must be a power of 2) */ | ||
115 | #define LFIELDS_PER_FLUSH 64 | ||
116 | |||
117 | |||
118 | 111 | ||
119 | #endif | 112 | #endif |