summaryrefslogtreecommitdiffstats
path: root/opcode.c
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-01 19:41:36 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-02 20:45:06 +0000
commit251f221b85216ca50329c4ef1788fc617863ce06 (patch)
tree7467aa51c1373848b98c1a70c47f876311d34fa9 /opcode.c
parent9e743d517a047566996181549f05383948c0d0c0 (diff)
Refactor of function call codegen. Separate codegen for C and jq calls.
Diffstat (limited to 'opcode.c')
-rw-r--r--opcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.c b/opcode.c
index 6e85e709..c4c6356d 100644
--- a/opcode.c
+++ b/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