1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Refactor of function call codegen. Separate codegen for C and jq calls.

This commit is contained in:
Stephen Dolan
2012-12-01 19:41:36 +00:00
parent 9e743d517a
commit 251f221b85
4 changed files with 44 additions and 50 deletions

View File

@@ -5,7 +5,7 @@
#define CONSTANT OP_HAS_CONSTANT, 2
#define VARIABLE (OP_HAS_VARIABLE | OP_HAS_BINDING), 3
#define BRANCH OP_HAS_BRANCH, 2
#define CFUNC (OP_HAS_SYMBOL | OP_HAS_CFUNC | OP_HAS_VARIABLE_LENGTH_ARGLIST), 2
#define CFUNC (OP_HAS_SYMBOL | OP_HAS_CFUNC), 3
#define UFUNC (OP_HAS_UFUNC | OP_HAS_VARIABLE_LENGTH_ARGLIST), 2
#define CALLSEQ_END_IMM (OP_IS_CALL_PSEUDO), 0
#define CLOSURE_PARAM_IMM (OP_IS_CALL_PSEUDO | OP_HAS_BINDING), 0