factor/native/compiler.h

23 lines
440 B
C
Raw Normal View History

2004-12-25 02:55:03 -05:00
/* The compiled code heap is structures into blocks. */
typedef struct
{
CELL header;
CELL code_length;
CELL reloc_length;
} F_COMPILED;
#define COMPILED_HEADER 0x01c3babe
2004-09-06 02:32:04 -04:00
ZONE compiling;
2004-12-25 02:55:03 -05:00
#define LITERAL_TABLE 4096
CELL literal_top;
2004-12-25 02:55:03 -05:00
CELL literal_max;
2004-09-06 02:32:04 -04:00
void primitive_compiled_offset(void);
void primitive_set_compiled_offset(void);
void primitive_literal_top(void);
void primitive_set_literal_top(void);
void collect_literals(void);