diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-03 20:00:36 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-03 20:02:02 +0000 |
commit | 5f6a95c7b574c6d0f52e62e2405c550606a5ce75 (patch) | |
tree | b31fc40e29095972db981ed9dc18429dd4aabce7 /opcode_list.h | |
parent | fadeb66365cb8da2cddf3993ad139736922852ae (diff) |
General cleanup - rename a few things, delete dead code.
Diffstat (limited to 'opcode_list.h')
-rw-r--r-- | opcode_list.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/opcode_list.h b/opcode_list.h index 27211a2d..a39d30e0 100644 --- a/opcode_list.h +++ b/opcode_list.h @@ -5,7 +5,6 @@ OP(POP, NONE, 1, 0) OP(LOADV, VARIABLE, 1, 1) OP(STOREV, VARIABLE, 1, 0) OP(INDEX, NONE, 2, 1) -//OP(DISPLAY, NONE, 1, 0) OP(YIELD, NONE, 1, 0) OP(EACH, NONE, 1, 1) OP(FORK, BRANCH, 0, 0) @@ -23,7 +22,7 @@ OP(CALL_JQ, UFUNC, 1, 1) OP(RET, NONE, 1, 1) OP(CALLSEQ_END, CALLSEQ_END_IMM, 0, 0) -OP(CLOSURE_PARAM, CLOSURE_PARAM_IMM, 0, 0) +OP(CLOSURE_PARAM, DEFINITION, 0, 0) OP(CLOSURE_REF, CLOSURE_REF_IMM, 0, 0) -OP(CLOSURE_CREATE, CLOSURE_CREATE_IMM, 0, 0) -OP(CLOSURE_CREATE_C, CLOSURE_CREATE_C_IMM, 0, 0) +OP(CLOSURE_CREATE, DEFINITION, 0, 0) +OP(CLOSURE_CREATE_C, DEFINITION, 0, 0) |