aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/program.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/program.h b/include/program.h
index a0ed4ed..b98c0a6 100644
--- a/include/program.h
+++ b/include/program.h
@@ -3,7 +3,7 @@
#include "std/buffer.h"
#include "bytecode/bytecode.h"
-#include "../executor/x86_64/asm.h"
+#include "../executor/executor.h"
#define AMAL_PROGRAM_OK 0
#define AMAL_PROGRAM_INVALID_HEADER -1
@@ -38,13 +38,6 @@ typedef struct {
u16 num_strings;
u16 num_intermediates;
-
- u64 reg[AMAL_PROGRAM_NUM_REGISTERS];
- u64 *stack;
- usize stack_size;
- usize stack_index;
-
- Asm asm;
} amal_program;
CHECK_RESULT int amal_program_init(amal_program *self);