prog_t no longer has a header

This "header" is now embedded directly into the struct.  The semantic
of a header never really matters in the actual runtime anyway, it's
only for bytecode (de)serialising.
This commit is contained in:
2024-04-25 01:19:43 +05:30
parent 71d423a06b
commit 71b0b793af
4 changed files with 31 additions and 38 deletions

View File

@@ -165,11 +165,6 @@ typedef struct
{
word start_address;
word count;
} prog_header_t;
typedef struct
{
prog_header_t header;
inst_t instructions[];
} prog_t;