summaryrefslogtreecommitdiffstats
path: root/opcode_list.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-02 20:45:55 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-02 20:45:55 +0000
commit125e2785025ed1a4363800d712bdf4e782a94cd4 (patch)
tree651515557228acae2d40ea60f4ca3ac67b7cf1cb /opcode_list.h
parent251f221b85216ca50329c4ef1788fc617863ce06 (diff)
Clean up calls to C functions, unify opcodes
Diffstat (limited to 'opcode_list.h')
-rw-r--r--opcode_list.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/opcode_list.h b/opcode_list.h
index 34a68e1c..27211a2d 100644
--- a/opcode_list.h
+++ b/opcode_list.h
@@ -17,11 +17,9 @@ OP(INSERT, NONE, 4, 2)
OP(ASSIGN, VARIABLE, 3, 0)
-OP(CALL_BUILTIN_1_1, CFUNC, 1, 1)
-OP(WTFBROKEN, CFUNC, 2, 1)
-OP(CALL_BUILTIN_3_1, CFUNC, 3, 1)
+OP(CALL_BUILTIN, CFUNC, -1, 1)
-OP(CALL_1_1, UFUNC, 1, 1)
+OP(CALL_JQ, UFUNC, 1, 1)
OP(RET, NONE, 1, 1)
OP(CALLSEQ_END, CALLSEQ_END_IMM, 0, 0)