Add LOADVN opcode.

Does a variable load, but sets the variable to be null afterwards.
This commit is contained in:
Stephen Dolan committed 2013-05-16 15:02:18 +01:00
1 parent 919292764a
commit 8fbee891b3
2 files changed
+18

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ OP(DUP, NONE, 1, 2)
OP(DUP2, NONE, 2, 3)
OP(POP, NONE, 1, 0)
OP(LOADV, VARIABLE, 1, 1)
OP(LOADVN, VARIABLE, 1, 1)
OP(STOREV, VARIABLE, 1, 0)
OP(INDEX, NONE, 2, 1)
OP(EACH, NONE, 1, 1)