Prototype of X86_64 migration

This commit is contained in:
Roman Venediktov 2024-01-30 18:16:44 +01:00
parent 3fdc3e7f2a
commit e77433e51c
21 changed files with 599 additions and 7165 deletions

View file

@ -24,7 +24,7 @@
# define DATA_HEADER_SZ (sizeof(size_t) + sizeof(size_t) + sizeof(int))
#endif
#define MEMBER_SIZE sizeof(int)
#define MEMBER_SIZE sizeof(long)
#define TO_DATA(x) ((data *)((char *)(x)-DATA_HEADER_SZ))
#define TO_SEXP(x) ((sexp *)((char *)(x)-DATA_HEADER_SZ))
@ -68,7 +68,7 @@ typedef struct {
// last bit can be used because due to alignment we can assume that last two bits are always 0's
size_t forward_address;
int tag;
int contents[0];
long contents[0];
} sexp;
#endif