diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-16 00:51:17 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-16 00:51:17 +0100 |
commit | a1e4dfa32412457e03dd0e4e4c2ac17eca02c4f8 (patch) | |
tree | f93f78777d4b54fa8f32630cfccac283572bec55 /bytecode.h | |
parent | f8644c31a3e6f4c3d9a95837c22a18fd27155510 (diff) |
Better debug info for struct bytecode.
--debug-dump-disasm produces more comprehensible output now.
Diffstat (limited to 'bytecode.h')
-rw-r--r-- | bytecode.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |