mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
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:
@@ -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