frame layout refactor

This commit is contained in:
Stephen Dolan committed 2012-08-21 12:35:44 +01:00
1 parent 15ad640202
commit dd0d340eba
8 files changed
+147 -73

No files matched your search

+8 -1
View File
@@ -23,11 +23,18 @@ struct symbol_table {
struct bytecode {
uint16_t* code;
int codelen;
int framesize;
int nlocals;
int nclosures;
json_t* constants;
struct symbol_table* globals;
struct bytecode* subfunctions;
int nsubfunctions;
};
void dump_disassembly(struct bytecode* code);
void dump_operation(struct bytecode* bc, uint16_t* op);
#endif