summaryrefslogtreecommitdiffstats
path: root/opcode_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcode_list.h')
-rw-r--r--opcode_list.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/opcode_list.h b/opcode_list.h
index f384d715..91a6aba1 100644
--- a/opcode_list.h
+++ b/opcode_list.h
@@ -1,7 +1,6 @@
OP(LOADK, CONSTANT, 1, 1)
OP(DUP, NONE, 1, 2)
OP(DUP2, NONE, 2, 3)
-OP(SWAP, NONE, 2, 2)
OP(POP, NONE, 1, 0)
OP(LOADV, VARIABLE, 1, 1)
OP(STOREV, VARIABLE, 1, 0)
@@ -15,7 +14,11 @@ OP(BACKTRACK, NONE, 0, 0)
OP(APPEND, VARIABLE,1, 0)
OP(INSERT, NONE, 4, 2)
-OP(GETPATH, NONE, 2, 1)
+OP(SUBEXP_BEGIN, NONE, 1, 2)
+OP(SUBEXP_END, NONE, 2, 2)
+
+OP(PATH_BEGIN, NONE, 1, 2)
+OP(PATH_END, NONE, 2, 1)
OP(CALL_BUILTIN, CFUNC, -1, 1)