Clean up function creation API and epilogue generation.

This commit is contained in:
Stephen Dolan committed 2012-11-26 00:39:01 +00:00
1 parent 924aeda504
commit 3e3fe51959
5 files changed
+38 -47

No files matched your search

-1
View File
@@ -512,7 +512,6 @@ struct bytecode* jq_compile(const char* str) {
struct bytecode* bc = 0;
int nerrors = jq_parse(&locations, &program);
if (nerrors == 0) {
block_append(&program, block_join(gen_op_simple(YIELD), gen_op_simple(BACKTRACK)));
program = builtins_bind(program);
nerrors = block_compile(program, &locations, &bc);
block_free(program);