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:
2
opcode.c
2
opcode.c
@@ -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
|
||||
|
Reference in New Issue
Block a user