TCO to the max!
Close #446. Currently tested by disassembling and tracing various recursive jq programs by hand under valgrind. An improved test framework that can test for errors and specific bytecode patterns is in development.
This commit is contained in:
1 parent
e1c5a2f575
commit
436941d48b
4 files changed
+81
-18
No files matched your search
@@ -83,6 +83,7 @@ struct bytecode {
|
||||
void dump_disassembly(int, struct bytecode* code);
|
||||
void dump_operation(struct bytecode* bc, uint16_t* op);
|
||||
|
||||
int bytecode_operation_length(uint16_t* codeptr);
|
||||
void bytecode_free(struct bytecode* bc);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user