diff options
Diffstat (limited to 'src/lj_ir.h')
-rw-r--r-- | src/lj_ir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_ir.h b/src/lj_ir.h index 8154949c..75635f93 100644 --- a/src/lj_ir.h +++ b/src/lj_ir.h | |||
@@ -222,6 +222,7 @@ IRFLDEF(FLENUM) | |||
222 | /* CONV mode, stored in op2. Lowest 8 bits is the IRType of the source. */ | 222 | /* CONV mode, stored in op2. Lowest 8 bits is the IRType of the source. */ |
223 | #define IRCONV_TRUNC 0x100 /* Truncate number to integer. */ | 223 | #define IRCONV_TRUNC 0x100 /* Truncate number to integer. */ |
224 | #define IRCONV_SEXT 0x200 /* Sign-extend integer to integer. */ | 224 | #define IRCONV_SEXT 0x200 /* Sign-extend integer to integer. */ |
225 | #define IRCONV_MODEMASK 0x3ff | ||
225 | #define IRCONV_CSH 10 | 226 | #define IRCONV_CSH 10 |
226 | /* Number to integer conversion mode. Ordered by strength of the checks. */ | 227 | /* Number to integer conversion mode. Ordered by strength of the checks. */ |
227 | #define IRCONV_TOBIT (0<<IRCONV_CSH) /* None. Cache only: TOBIT conv. */ | 228 | #define IRCONV_TOBIT (0<<IRCONV_CSH) /* None. Cache only: TOBIT conv. */ |
@@ -348,6 +349,7 @@ IRTDEF(IRTENUM) | |||
348 | /* Native pointer type and the corresponding integer type. */ | 349 | /* Native pointer type and the corresponding integer type. */ |
349 | IRT_PTR = LJ_64 ? IRT_P64 : IRT_P32, | 350 | IRT_PTR = LJ_64 ? IRT_P64 : IRT_P32, |
350 | IRT_INTP = LJ_64 ? IRT_I64 : IRT_INT, | 351 | IRT_INTP = LJ_64 ? IRT_I64 : IRT_INT, |
352 | IRT_UINTP = LJ_64 ? IRT_U64 : IRT_U32, | ||
351 | 353 | ||
352 | /* Additional flags. */ | 354 | /* Additional flags. */ |
353 | IRT_MARK = 0x20, /* Marker for misc. purposes. */ | 355 | IRT_MARK = 0x20, /* Marker for misc. purposes. */ |