Better debug info for struct bytecode.
--debug-dump-disasm produces more comprehensible output now.
This commit is contained in:
1 parent
f8644c31a3
commit
a1e4dfa324
3 files changed
+59
-6
No files matched your search
@@ -10,6 +10,7 @@
|
||||
struct symbol_table {
|
||||
struct cfunction* cfunctions;
|
||||
int ncfunctions;
|
||||
jv cfunc_names;
|
||||
};
|
||||
|
||||
// The bytecode format matters in:
|
||||
@@ -33,6 +34,8 @@ struct bytecode {
|
||||
int nsubfunctions;
|
||||
|
||||
struct bytecode* parent;
|
||||
|
||||
jv debuginfo;
|
||||
};
|
||||
|
||||
void dump_disassembly(int, struct bytecode* code);
|
||||
|
||||
Reference in new issue
Block a user