Remove more useless typedefs

This commit is contained in:
Lassi Kortela 2019-08-09 21:11:40 +03:00
parent 36fd757689
commit c0ef0c2549
2 changed files with 1 additions and 8 deletions

View File

@ -104,20 +104,13 @@ typedef int bool_t;
#ifdef BITS64 #ifdef BITS64
#define TOP_BIT 0x8000000000000000 #define TOP_BIT 0x8000000000000000
#define NBITS 64 #define NBITS 64
typedef int64_t offset_t;
typedef uint64_t index_t; typedef uint64_t index_t;
#else #else
#define TOP_BIT 0x80000000 #define TOP_BIT 0x80000000
#define NBITS 32 #define NBITS 32
typedef int32_t offset_t;
typedef uint32_t index_t; typedef uint32_t index_t;
#endif #endif
typedef uint8_t uint8_t;
typedef uint16_t uint16_t;
typedef uint32_t uint32_t;
typedef uint64_t uint64_t;
#define LLT_ALIGN(x, sz) (((x) + (sz - 1)) & (-sz)) #define LLT_ALIGN(x, sz) (((x) + (sz - 1)) & (-sz))
// branch prediction annotations // branch prediction annotations

View File

@ -1,6 +1,6 @@
typedef uintptr_t value_t; typedef uintptr_t value_t;
typedef intptr_t fixnum_t;
typedef uintptr_t ufixnum_t; typedef uintptr_t ufixnum_t;
typedef intptr_t fixnum_t;
#ifdef BITS64 #ifdef BITS64
#define T_FIXNUM T_INT64 #define T_FIXNUM T_INT64
#else #else